Hi all, Can its possible in asp.net application, whenever data grid render in page on run time its render as "HTML DIV Base lay out". Not as "HTML table layout". Thanks
Hi all, Can its possible in asp.net application, whenever data grid render in page on run time its render as "HTML DIV Base lay out". Not as "HTML table layout". Thanks
AFAIK no though an "adapter" could perhaps allow to customize the markup (not sure but heard that you can plug in some code to customize the rendering based on the borwser for examples, you could perhaps do the same witht the grid, see for example the CSS adapters). But first keep in mind that TABLEs are not to avoid at all cost. They are most often not considered to be used as a tool for "general" layout but if you have tabular data such as for a grid of data this is still the more appropriate markup. (or elaborate a bit on the problem you are trying to solve). --- Patrice XXXX@XXXXX.COM ...
2.Data Grid Template Columns at Run Time
Hi Suppose I have a data grid set up using HTML containing templated columns. <asp:TemplateColumn HeaderText="SMILES (Template)"> <ItemTemplate> <asp:textbox runat="server" Text='<%# DataBinder.Eval (Container, "DataItem.ISOSMILES") %>'></asp:textbox> </ItemTemplate> </asp:TemplateColumn> At run time, a sub gets passed this data grid and wants to work out the item template in each column. Specifically, I need to work out which SQL column (ISOSMILES in the example above) the column is going to try and bind to, if any. The reason is I want to remove the column from the data grid if the particular query I am going to run will not return that column, so as to avoid an exception. With a bound column, you get the Datafield property. With a templated column, I cannot figure out how to access the ItemTemplate, as all this returns is the ITemplate interface, which has no useful properties. Thanks for any suggestions. Mark
3.to chaange a cell's text in ms flex grid at run time
hi, i want to change a cell's text .Can i also type in the cell at run time.
4.Display Commands Pane in Property Grid during run time RSS
5.Data Grid Cells/convert data in grid to uppercase
Hello, Is it possible to control the size of the individual cells in a datagrid like you do with rows in a table. If yes, please can you show me how. Do you also know how to convert the entire data in grid to upper case? I am using sqldataadapter in returning the data using a dataset and a datatable. Thanks for your help.
Users browsing this forum: No registered users and 99 guest