I am trying to override data in a column of a DataView that will be used in a datagrid.
So far all I can find is that you can add a column to a DataView but I am not finding a way to modify the data in the column. Ex: dataView.Table.Columns.Add( datacolumn ); works fine but there is...
I'm looking for ways to improve the HTML performance of ASP.NET webpages using scrollable DataGrids... The larger the datagrid, the longer it takes for the webpage to display with the grid. That blank white page displaying for a few seconds between displays of the webpages can be annoying...
I have a DataGrid with AllowPaging=true where the 1st column in the header is an Icon. Prior to that column being an icon (used to be text), the Sort by header columns worked fine. Now with the Icon in that column, the SortEventHander_OnClick's e.SortExpression value always is the 1st column's...
I have this method to build the Paging numbers for a datagrid since for some reason the collection containing the page numbers is not in perfect sequence e.g.
1 2 3 4 5 6 7 8 9 10 11 12 13 32 33 34 35 36 14 15 16 ....
- debugging showed that the ItemCreated event for Pagers is being invoked...
Is there a Javascript command that will do a "find" of a variable within a text field? ex: find "lnkEdit" in a field that has "grid_lnkEdit" and return "lnkEdit" ?
I have a HTML link - I am using an onkeypress to check for an Enter key (value 13). Problem is the event is valid if certain links are clicked or if one of the links had focus (tabbed to) when the Enter key was pressed.
Is there a way to know in JS that the focus was on one of the links (and...
If I wanted a grid where the longevity of the Visited & Unvisited colors of the hyperlinks were good only for the life of the grid until a new search were made... is there an Event that is triggered whenever a link is clicked in ASP.NET? I am thinking of modifying the HyperLink.ForeColor...
This is bizarre. I put a datagrid in a DIV area and have the scrollbar on the right side of the DIV area (because another above DIV area contains Header columns. The move from the scrollbar from the traditional right side to the left side (it is wanted) required me to re-adjust my grid columns...
What would be the best method to re-display a datagrid as-is (i.e. when an error occurred in a Edit textbox) without having the grid re-display starting at the first row?
Thanks for any info or suggestions on this.
Is there an algorithm to convert old HTML's Size="XX" (# of characters) to new HTML's WIDTH="XXpx" (pixels)? Is it all trial & error/hit & miss till you get a matching comparision?
I get a compiler warning when using SIZE but it still allows it for datagrids. I got burnt...
Is there an easy way/algorithm to convert old HTML's Size="XX" (# of characters) to new HTML's WIDTH="XXpx" (pixels)? Is it all trial & error/hit & miss till you get a matching comparision?
I get a compiler warning when using SIZE but it still allows it for datagrids. I got...
Would it be possible to create a new Object in order to copy the DataGrid's header & its properties so that I can put it in a non-scrolling area, and then set the auto header's ShowHeader property to false? Any examples of this? I ask because trying to set up my own header based on the column...
Are there any rules with calculating the width of a Datagrid? I am defining a DIV with the width style based on the varying length of the Datagrid. The DataGrid.Width property is never available (it stays at Zero all the time except when viewed in View/Source) so I define it by calculating the...
Is it possible to size the DIV length & width based on the size of the Datagrid, horizontally within code? I have a datagrid which's width/length changes.
Hi, I am working on setting up a datagrid over a Div area that will have varying length sizes depending on the size of the text fields in the grid columns (autogenerate true) so horizontal scroll bars can occur sometimes.
Is it possible to completely align a datagrid alongside with a vertical...
I have a Datagrid where AllowPaging=true is used as the default and AllowPaging=false can be used alternatively. 500 rows are usually the norm but can be reduced if necessary. For 500 rows, the grid with AllowPaging=true will display immediately, but the grid with AllowPaging=false will show a...
I do this...
txtField.ToolTip = "This is a tooltip test"
and it will not change the tooltip at all. If you have a default tooltip text property, it will use that and it will not be updated. If you remove the default text, the above will not update it either.
Anybody with success in...
I use a C# class to Fill a DataTable and return it. My problem is I have to do a Try...Catch in the event of errors but I can't send back the Exception Error string, only the DataTable can be sent back. I tried writing the exception error into a Cookie in the Class but it won't compile - it...
How do you get to use "\" as real data in C#? The compiler keeps trying to reject this...
char bozo = '\';
string strData = "This" + bozo + "andThat"
Newline in constant
Too many characters in character literal
char[] bozo = '\';
string strData = "This"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.