Hello
I have a radgrid with a GridDropDown that is only displayed when the radgrid is in edit mode.
What I want to accomplish is to set the initial value of the DropDown based on the value of another cell, and still be able to open the dropbox for my edit method
For example:
IdEstatus || Estatus
1 || Pending
2 || Delivered
<telerik:GridBoundColumn DataField="IdEstatus" HeaderText="<%$ Resources:Language, lbl_rg_estatus %>" UniqueName="IdEstatus" Display="false" ReadOnly="true" AllowFiltering="false" AutoPostBackOnFilter="true" CurrentFilterFunction="contains" ShowFilterIcon="false" FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
<telerik:GridDropDownColumn UniqueName="Estatus" ListTextField="Descripcion" ListValueField="IdEstatus" Display="false" AllowFiltering="false" HeaderText="<%$ Resources:Language, lbl_rg_estatus %>" ItemStyle-CssClass="form-control form-control-sm"></telerik:GridDropDownColumn>
protected void rgDetalles_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
GridDropDownColumnEditor editor = editMan.GetColumnEditor("Estatus") as GridDropDownColumnEditor;
editor.DataSource = CDatos.SP_PeticionesAlmacen.SP_ObtenerEstatus();
editor.DataBind();
}
Database
Estatus
IdEstatus || Description
1 || Pending
2 || Delivered
3 || Canceled
The initial value of the combobox should be based according to the value in the cell "IdEstatus", but still be able to open and show the rest of the options
Thanks
I'm a novice with Telerik, I want to know how to find the path to a folder with Webform.
For example:
In the WinForm, Application.ExecutablePath is able to get the main path, is there is a way to retreive the same file with a webform ?
Can someone please assist me with that issue. I'm trying to convert a WinForm to Webform. I need to access the main folder, It was implemented that way for the Winform, but I would like to have to retrieve the same path in ASP.NET AJAX for Webform.
For WinForm:
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
DirectoryInfo info = Directory.Getarent(appPath);
WebForm:
????
Hello ,
Please i the raddate picker and rad textbox is not dispalying.I moved form one server to another.On the new server the raddate picker and rad textbox is not dispalying.The rad date picker diplays this error Open the calendar popup. My code
<telerik:RadDatePicker ID="RadDatePicker1" Runat="server"
Culture="English (United States)" Skin="WebBlue"
onselecteddatechanged="RadDatePicker1_SelectedDateChanged" Width="150px">
<calendar skin="WebBlue" usecolumnheadersasselectors="False"
userowheadersasselectors="False" viewselectortext="x">
</calendar>
<datepopupbutton hoverimageurl="" imageurl="" />
</telerik:RadDatePicker>
Please Help