all groups > asp.net datagrid control > may 2007
DataGrid.PageIndexChanged not firing on when 0th page requested
Posted by Marc Woolfson at 5/23/2007 3:11:01 AM
Hello,
I have a Web Part that contains a relatively simple DataGrid, paginated
across four pages. Switching between pages 2, 3 and 4 works fine, but if you
request the first (0th) page again, the PageIndexChanged event does not fire.
Please see my code below:
1 public class ListOf... more >>
using javascript with datagrid
Posted by Brett Wesoloski at 5/22/2007 8:23:25 AM
I can not seem to figure this out, but really haven't work a lot with
javascrip and .NET.
I have a data grid and I want to put a button in it and when the button is
pressed it will call my javascript. Now the grid is in a .ascx file. The
other kicker is I want to also use the databinder p... more >>
how can i store punjabi text in database. this text must be displayed in punjabi in the browser.
Posted by sandhu at 5/16/2007 8:28:36 PM
hi,
i want to display data in punjabi language in the web page. what is
solution of that. please reply.
this punjabi text must come from database. if u have another alternate
then, so please give that alternate.
... more >>
Creating a Datagrid HyperLinkColumn with Multiple Querystring Values
Posted by ogsubs NO[at]SPAM gmail.com at 5/12/2007 5:44:25 AM
I'm trying to concatenates to mutli items on a query string...kept
generating errors...can u spot the bug?
===============
<ItemTemplate>
<asp:HyperLink id=Hyperlink1 runat="server" Text="Details"
NavigateUrl='<%
# "ClassList.aspx?
section_id="Container.DataItem("section_id")"
... more >>
problem of .net datagrid
Posted by vijay.csbt40 NO[at]SPAM gmail.com at 5/11/2007 3:02:53 AM
hi i m vijay and i m facing the problem in the datagridview net 2.0
i dont want to desplay the cells of a row that doesnt have any value
if any one have the solution of this the plz reply me as soon as
possible
... more >>
Bryan, Help!
Posted by Ross Culver at 5/9/2007 9:18:56 AM
Ok, back to the same issue about keys, dictionary, session variables, etc.
If I session.removeall in order to rid myself of the "Item has already been
added . . . " error, then paging doesn't work.
How can I clear the keys from the dictionary without removing all session
variables and why ... more >>
Key in Dictionary
Posted by Ross Culver at 5/7/2007 1:36:08 PM
This error message "Item has already been added. Key in dictionary . . . "
has become a major problem for me.
I have a website whose main attractions (the money maker) are the two
datagridviews used to return user requested information. The site is still
in debug mode as we're in the fina... more >>
Strange Problem: Removing rows from Table object doesnt update rowcount of Gridview
Posted by Dev at 5/5/2007 12:00:00 AM
Hi,
I'm removing rows from a gridview using Table.Remove( ). This removes the
rows from the gridview.
But the problem is although it removes rows from the gridview it doesnt
update the Gridview.Rows.Count to return correct number of rows remains on
the gridview. Instead it always returns t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
datagrid to excel with image
Posted by joy at 5/4/2007 12:36:57 AM
Hi.
I have a datagrid which displays images in
cells. User wants to download the grid data as excel file.
Now, if datagrid contains only data, it is fine. But if it
contains some images, images are not displayed in the
excel.is it possible to display images also...
... more >>
Newbie Delete question
Posted by Robert Dufour at 5/3/2007 1:45:33 PM
I have a gridview that allows deletes, It uses a single table but the
contents of the table rel;ate to a child table and in then sql server
defintions, cascabding deletes are not allowed. So functionally it works as
it should , If I try to delete a record that has child recors I get an error
... more >>
GridView - Problem with Table.Rows.Remove( )
Posted by Dev at 5/2/2007 5:31:17 PM
Hi,
I have a gridview from which i want to remove gridviewrows onfly.
I remove the rows as follows:
Dim oTable as Table = CType(oGridViewRow.Parent, Table)
oTable.Rows.Remove(CType(oGridViewRow, TableRow))
Above removes required rows from the gridview but the problem is on
postback, it a... more >>
grid cell has onclick but hand is not shown
Posted by Beemer Biker at 5/2/2007 8:41:18 AM
I added an onclick event to a grid cell at bind time
e.Row.Cells[nFieldNum].Attributes.Add("onclick", "return
LaunchInfo('../DetailLocation.aspx')")
This works fine, but there is no indication that one can "click" on the cell
when the cursor is mioved over the item in the cell.
I would ... more >>
having trouble with drag-n-drop of multiple items
Posted by Dan Morrow at 5/2/2007 6:28:50 AM
I'm having trouble handling drag-n-drop of rows from a DataGridView.
The SelectionMode is FullRowSelect, so when I click, the whole row gets
selected, not just cells.
What I'd like to do is select rows 1, 3 and 5 (by control-clicking) and
then click one more time, and drag all three rows.
... more >>
|