Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
197 views
I am evaluating the products.

I have a mainmenu, and want to add submenu with item template from a datasource. 

Thanks.
Alfred
Alfred
Top achievements
Rank 1
 answered on 09 Dec 2008
1 answer
103 views
Hi,

I have a field that once selected opens up a 'pop-up' for to allow editing of a record. Is there any way to show the record that was clicked on (show it as selected) for the pop-up. My users are finding that once they close down the pop-up they do not know what record they clicked on.

Thanks

Ryan
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2008
15 answers
330 views
Is there  way to sort the grid columns using a client-side Javascript call without POSTing back to the server?
Pavel
Telerik team
 answered on 09 Dec 2008
1 answer
126 views
Is this possible to insert values only to specific empty colums in a table although the use can see using the select command the filled columns too?
For example a user sees column1 and column 2 of the table but when he presses insert he fills only values in column 3(in the same row).
Thank you very much.
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2008
1 answer
128 views
Hi

How to get the control values using foreach of radgrid in asp.net

here code, i have written like but its giving error
i want to identify form tamplate column control in radgrid.

foreach

(GridEditFormItem item in RadGrid1.MasterTableView.ChildEditItems) { 

 

if(item.ItemType==GridItemType.EditFormItem)  

{

((

DropDownList)item.FindControl("drop2")).Items.Add(new ListItem("Ravi" + ((DropDownList)item.FindControl"drop1")).SelectedValue));  

 

 

}}

plz help give me any suggetions.

thx advance

Princy
Top achievements
Rank 2
 answered on 09 Dec 2008
4 answers
182 views
Hello, I've created a grid web user control to display a list of records. I bind the grid using the NeedDataSource event to a data table directly (in other words, I'm not using the data source controls).  I ste AutoGenerateEditColumn="True" so I get an edit button for each row.  I've made the grid call a web user control as the detail form by setting EditFormType="WebUserControl" and when "edit" is clicked, I display that form. The form has a save and a cancel button on it. Everything works fine as long as there is no error when saving.

Here's the issue: When I click "save" on the detail form, the form closes and the grid updates, BUT if there is an error, I want to display the error and leave the form open.  (BTW - I'm handling displaying the error so I'm not concerned about that part) I looked at some samples you had but only found those that are NOT using a custom web user control and in these examples.

Can you please tell me how to leave my detail form open in the event of an [handled] error when saving the data?
Yavor
Telerik team
 answered on 09 Dec 2008
1 answer
108 views
Hi

I try to reproduce the multiple comboxes demo but my combo are in a radGrid and i cannot find them in the JS functions , somebody have a sample to demonstrate how i can do this ?

Thanks in advance for your help.

Shinu
Top achievements
Rank 2
 answered on 09 Dec 2008
1 answer
188 views
Hi

Here i have problem with post back with 2 dropdown inside radgrid
we have placed 2 dropdown controls  inside form template of radgrid.
i want to get values depends on first dropdown to fill second dropdown.
how can we implement in CS file.

my html code.

<

telerik:RadGrid  ID="RadGrid1"   runat="server"   Skin="Office2007" GridLines="None"  PageSize = "10"  AllowPaging="True"  PagerStyle-Mode="NextPrevAndNumeric"  AllowSorting="True"  

ShowStatusBar="true"  AutoGenerateColumns="False" 

AllowMultiRowSelection ="true"  ClientSettings-Selecting-AllowRowSelect="true"  onneeddatasource="RadGrid1_NeedDataSource" >  

 

<MasterTableView GridLines="None" HeaderStyle-CssClass="grid_hd" Width="100%" CommandItemStyle-CssClass="grid_cmd CommandItemDisplay="TopAndBottom" DataKeyNames="RoleID" InsertItemPageIndexAction="ShowItemOnFirstPage"> 

 

<Columns>  ....  

 </Columns<EditFormSettings EditFormType="Template">  <FormTemplate>  <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td> <asp:DropDownList ID="drop1" runat="server" AutoPostBack="true"  

onselectedindexchanged="drop1_SelectedIndexChanged" > <asp:ListItem Value="1">ONE</asp:ListItem> <asp:ListItem Value="2">TWO</asp:ListItem> 

 

</asp:DropDownList> <asp:DropDownList ID="drop2" runat="server"> </asp:DropDownList> </td> </tr>

 

 

 </table> </FormTemplate></EditFormSettings></MasterTableView> </telerik:RadGrid>  


can plz let me if u know any solution.

 

Princy
Top achievements
Rank 2
 answered on 09 Dec 2008
1 answer
162 views

Hi,

I have to change the selection in GridDropDownColumn2 and other TextBoxes when the user changes the select in GridDropDownColumn while Adding and Editing data. I am using GridEditMode.InPlace.

Ex: When the user selects Profession 'Programmer' then the 2nd GridDropDownColumn should automatically  get filtered and display 'IT Dept' Otherwise 'General', by default.

 

Appreciate your help.

 

Many thanks.

JN

Princy
Top achievements
Rank 2
 answered on 09 Dec 2008
2 answers
107 views
Hi, 

need a quick help!

My form strcuture is :

<< Some Fields like Name, Address etc>>
<<Telerik Grid Contains the Shipping Addresses - inline add/edit/update>>
<<Telerik Grid Contains the Billing Addresses - inline add/edit/update>>
Then <<Save button>>

this is one form, now when user click on save button, i need to save all the data in the database in 3 separate tables.

I am not sure, how to call the add/update function of Telerik Grid on click of Save button. So that all the data will be saved in database in one click of Save.

Now, If i use inline Add/Edit/update of Telerik Grid - i need to save data in the table at the same moment when i click on Save/Update event of telerik grid, but this can not be done as i need to save the data in other table first (<< Some Fields like Name, Address etc>>) based on which i will insert the Grid records in other tables due to referencial integrity contstraint.

If i know to call the update/Save events of telerik grid on Save button of form, i think my problem can be resolved.

Please suggest.. need quick help.

Thanks in advance.

Best Regards.
Pranav
Top achievements
Rank 1
 answered on 09 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?