caption
h2 {
text-align: left;
margin: 15px 0 2px 0;
padding: 15px 0 2px 0;
line-height: 1.1em;
}
caption
p {
text-align: left;
margin: 1px 0 2px 0;
padding: 1px 0 2px 0;
line-height: 1em;
}
td
table th /* styling for grid header row */
{
padding: .1em .1em .1em .4em;
vertical-align: top;
text-align: center;
border: 1px solid white;
background-color: #e2dbc8; /*#f0ece3;*/
}
td
table td /* styling for grid data rows */
{
padding: .1em .1em .1em .4em;
vertical-align: top;
font-size: .85em;
text-align: left;
border: 1px solid white;
background-color: #f0ece3;
}
tr.altrow
td, .altrow{ background-color: #e2dbc8; }
.gridframe
{ border: none;}
StyleSetPath
="~/grid.css"
TextBox tb =
null
;
GridDataItem gdi = e.Item
as
GridDataItem;
tb = (TextBox)gdi[
"Notes"
].Controls[0];
I have a radgrid I fill in a procedure.
I do some custom adding of datatable, then some custom columns.
All of this works great, until a postback, then the Grid Goes blank.
I have read in several places I need to "Refill" the grid in the NeedDataSource.
So do I duplicate everything in the Procedure I use to fill it and format columns etc.
Some of the formating I do on the grid involves adding new colunms and switching columns.
Some of the items involve a databind before I can do the formating. And in NeedDatasource I cannot do a databind.
So I am a little lost in how to handle this situation.
Thanks in advance.
Roger
We have a RadGrid that include a column with RadRating control.
Our problem is that Grid takes too much time to load in the browser (aprox 8 seconds).
The ItemTemplate contains only a TextBlock and a RadRating Control.
When i remove the RadRating , the grid load normally (1 second).
The RadGrill run at server and use OnNeedDataSource. And the versión of dlls is 2014
Any suggestions?
Thank you,
kind regards
Hi, I've added to my grid a GridEditCommandColumn so that when I click the pencil icon a form opens up for me to edit the Item.
Using the example below I've tried to create a WebUserControl, but upon clicking pencil, nothing happens.
https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx
Are there any step by step instructions on how to utilize this functionality? I'm trying to reverse engineer the demo but not succeeding.
Thank you
Hi, I'm trying to swap out the default pencil image when using GridEditCommandColumn. Can you please instruct on how to accomplish that. Thank you
I need some help. I have a table of type MasterTableView, along with DetailTables, however I do not know how to connect these components to a table or database query.
I attached two images, one represents the system as it is presented today, and the other image shows how it should look.
In my RadGrid, the AllowFilteringByColumn is set to "true".
In the filter row of a GridDateTimeColumn, there's the DatePicker. How can I enable keyboard navigation for the popup calendar?