Jidesh Guptha
Top achievements
Rank 1
Jidesh Guptha
asked on 18 Sep 2009, 10:18 AM
Hi,
I have to create a RadGrid to enable users to enter data. The row may contain few texbox and Popup buttons. I should enable eight rows to allow them to enter eight records in a time. Some one pls guide me or get me some similar examples for me to proceed with.
Thanks in Advance
Jidesh
I have to create a RadGrid to enable users to enter data. The row may contain few texbox and Popup buttons. I should enable eight rows to allow them to enter eight records in a time. Some one pls guide me or get me some similar examples for me to proceed with.
Thanks in Advance
Jidesh
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 21 Sep 2009, 01:28 PM
Hi Jidesh,
I guess you want to open a radwindow for editing/updating eight records at a time. Checkout the following link that shows how to show window on clicking the grid button and editing using the window.
Window Editing
Also checkout the following documentation:
Performing batch updates
-Shinu.
I guess you want to open a radwindow for editing/updating eight records at a time. Checkout the following link that shows how to show window on clicking the grid button and editing using the window.
Window Editing
Also checkout the following documentation:
Performing batch updates
-Shinu.
0
Jidesh Guptha
Top achievements
Rank 1
answered on 22 Sep 2009, 04:50 AM
Hi Shinu,
i have uploaded the expected output as a image in the Following URL
http://rapidshare.com/files/283305790/ExpectedScreen.jpg.html
Pls. Have a look and guide me how to proceed
Jidesh
i have uploaded the expected output as a image in the Following URL
http://rapidshare.com/files/283305790/ExpectedScreen.jpg.html
Pls. Have a look and guide me how to proceed
Jidesh
0
Jidesh Guptha
Top achievements
Rank 1
answered on 22 Sep 2009, 07:33 AM
Hi Shinu,
I Got a clue and was able to create the screen as attached below.
Guide me on how to add validations to it, Both Client and server side.how to add more rows dynamically, and access all the rows on button click.
Jidesh
I Got a clue and was able to create the screen as attached below.
| <telerik:RadGrid ID="RadGrid1" runat="server" |
| Skin="Office2007" |
| GridLines="None" AutoGenerateColumns="False" |
| > |
| <ClientSettings EnableRowHoverStyle="true" > |
| <Selecting AllowRowSelect="true" /> |
| </ClientSettings> |
| <MasterTableView> |
| <Columns> |
| <telerik:GridClientSelectColumn> |
| </telerik:GridClientSelectColumn> |
| <telerik:GridTemplateColumn HeaderText="User Id" UniqueName="Column1"> |
| <ItemTemplate> |
| <asp:TextBox ID="Text" runat="server"></asp:TextBox> |
| <asp:Button ID="PopUp" runat="server" Text="Click" /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText = "User Name" UniqueName="Column2"> |
| <ItemTemplate> |
| <asp:TextBox ID="Text1" runat="server"></asp:TextBox> </td> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
Guide me on how to add validations to it, Both Client and server side.how to add more rows dynamically, and access all the rows on button click.
Jidesh
0
Hello Jidesh,
You can add validator controls in your GridTemplateColumn like this:
You can also check this online demo for more details.
As to accessing the rows of the grid I would suggest you to review the following help topics:
Data items
Accessing sells and rows
I hope this helps.
Regards,
Martin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can add validator controls in your GridTemplateColumn like this:
| <telerik:GridTemplateColumn HeaderText="User Id" UniqueName="Column1" > |
| <ItemTemplate> |
| <asp:TextBox ID="Text" runat="server" ></asp:TextBox> |
| <asp:Button ID="PopUp" runat="server" Text="Click" /> |
| <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="Text" |
| ErrorMessage="This field is required" runat="server"></asp:RequiredFieldValidator> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
You can also check this online demo for more details.
As to accessing the rows of the grid I would suggest you to review the following help topics:
Data items
Accessing sells and rows
I hope this helps.
Regards,
Martin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.