<AdvancedEditTemplate> <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative"> <div class="rsModalBgTopLeft"> </div> <div class="rsModalBgTopRight"> </div> <div class="rsModalBgBottomLeft"> </div> <div class="rsModalBgBottomRight"> </div> <div class="rsAdvTitle"> <h1 class="rsAdvInnerTitle"> <%# Container.Appointment.Owner.Localization.AdvancedEditAppointment %></h1> <asp:LinkButton runat="server" ID="LinkButton1" CssClass="rsAdvEditClose" CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'><%# Container.Appointment.Owner.Localization.AdvancedClose%> </asp:LinkButton> </div> <div class="rsAdvContentWrapper"> <telerik:RadTextBox ID="SubjectTextBox" runat="server" Text='<%# Bind("Subject") %>' Label='<%# Container.Appointment.Owner.Localization.AdvancedSubject%>'> </telerik:RadTextBox> <p> Custom content here... </p> <asp:Panel runat="server" ID="Panel1" CssClass="rsAdvancedSubmitArea"> <div class="rsAdvButtonWrapper"> <asp:LinkButton CommandName="Update" runat="server" ID="LinkButton2" CssClass="rsAdvEditSave"><span><%# Container.Appointment.Owner.Localization.Save%></span> </asp:LinkButton> <asp:LinkButton runat="server" ID="LinkButton3" CssClass="rsAdvEditCancel" CommandName="Cancel" CausesValidation="false"><span><%# Container.Appointment.Owner.Localization.Cancel%></span> </asp:LinkButton> </div> </asp:Panel> </div> </div></AdvancedEditTemplate>
Hi,
In my project we are replacing the grid view controls in to Rad Grid controls.
Please let me know how to implement the below code through the Rad Grid control.
for (int i = 0; i < gvEmployee.Rows.Count; i++)
{
employee = ((DropDownList)gvEmployee.Rows[i].FindControl("ddlEmployee")).SelectedValue;
for (int j = i + 1; j < gvEmployee.Rows.Count; j++)
{
if (string.Compare(employee, ((DropDownList)gvLOB.Rows[j].FindControl("ddlEmployee")).SelectedValue) == 0 && employee != "--SELECT--")
{
DoAlert("Please select distinct " + gvHeaderemployee);
return;
}
}
if (employee != "--SELECT--")
{
dtemployeelocal.Rows.Add(employee);
}
}
I need to check the distinct record added in my grid view on Submit button click event

Hello,
I want to change the text and command name for the LinkButton per row depending on another cell value. I saw this code for reading cells during binding. So when a read a cell and it means to change the link button how can I do it?
Thanks
Private Sub gvLevel3_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles gvLevel3.ItemDataBound If TypeOf e.Item Is GridDataItem Then Dim item As GridDataItem = DirectCast(e.Item, GridDataItem) Dim cell As TableCell = DirectCast(item("Uniquename"), TableCell) Dim value As String = cell.Text End IfEnd SubHi,
Based on parent dropdowntree i have to bind child dropdowntree.
when i select --select-- in parent dropdowntree child should be blank.
i used
dd.DataSource=Nothing
dd.Databind()
but it not working

Hi
I have a RadGrid with grouping, and the expand / close the group with the icon on the left hand side. We have a request that the groups be expanded / closed from the cell that has the group header text, is this possible.
The action would have to toggle so it closes when open and opens when closed.
I have attached an image that shows our requirement.
Andy
Hello,
Sorry in advance for my English because I'm not the best.
I hope that you can help me, because I search since 3 days.
I would like use a custom datasource (Get by WCF, but the signature of the method isn't the same that for a databinding) that I initialise to start the web page.
And after , I would like use the datasource for a radgrid. The radgrid must filter to client side (Because the radgrid is in a modal Popup and if I interact with the server, the modal disappears)
I hope I have understood
thank you for taking time for myself

Hi,
I have a problem with resizing image editor control based on the given width and height. Also resize the control based on image size. Now it looks like by default it is taking some width and height and I can't resize it smaller than that default size.
Thanks
Sankar

Hi,
RadDropDownList does not show the list of items when EnableVirtualScrolling="true". For my data source I'm using ObjectDataSource. Radgrid is also bound to this data source. I am working with UI for ASP.NET AJAX, v. 2014.3.1209.40
Any work around?
<telerik:RadDropDownList id="ddlBlockDeleteHigh" runat="server" DataValueField="CODE" DataTextField="CODE" DataSourceID="ObjectDataSource1" EnableVirtualScrolling="true" DropDownHeight="200px" Width="100px" ></telerik:RadDropDownList>
and here's the code for Object Data Source:
<asp:ObjectDataSource id="ObjectDataSource1" runat="server" UpdateMethod="Update" TypeName="VUE.CouponOracleDataObject" SelectMethod="Select" OldValuesParameterFormatString="original_{0}" InsertMethod="Insert" DeleteMethod="Delete"></asp:ObjectDataSource>Hi collegues,
I would like to bind my inherited TreeView to a custom object list.
It should automatically make the nodes based on parent-child relationships.
But at the databind (line 10.) I get a runtime error "Object of type TreeViewItem does not have a ParentId property.".
Which is a lie, as you can see :)
When i comment line 7. It also happens with the other properties(DataTextField and DataNavigateUrlField), but this is the first to run into.
Do you have any idea what is going wrong here?
Kind regards,
Bob Gladon
01.public class NavigateTreeView : RadTreeView02.{03. protected void NavigateTreeView_Load(object sender, EventArgs e)04. {05. this.DataTextField = "Name";06. this.DataFieldID = "ItemId";07. this.DataFieldParentID = "ParentId";08. this.DataNavigateUrlField = "UrlPath";09. this.DataSource = GetTreeViewItems();10. DataBind();11. }12.13. private List<TreeViewItems> GetTreeViewItems()14. {15. //Some implementation16. }17.}18.19.public class TreeViewItem20.{21. public TreeViewItemType Type;22. public int ParentId;23. public int? ItemId;24. public string Name;25. public string UrlPath;26.}