Hi,
I have a repeater which has grid as its child.
So based on the queried rows, there can be any number of grids.
I just want to know is there a way to differentiate between the grids in the repeater…Like is there any index on repeater by which a child can be differentiated.
Thanks.
User Profile
Collapse
-
Thanks a lot.
It helped me. -
Accessing template column of a grid inside a repeater
Hi,
I have a texbox which is a template column of a grid and the grid is inside the repeater.
If there is only one control in the repeater then we can use
foreach (RepeaterItem item in Repeater1.Items )
{
TextBox FirstName = (TextBox)item.F indControl("txt FirstName");
Response.Write( FirstName.Text) ;
}
But I have a control inside a control of the repeater..So can anyone please... -
Accessing template column of a grid inside a repeater
Hi,
I have a texbox which is a template column of a grid and the grid is inside the repeater.
If there is only one control in the repeater then we can use
foreach (RepeaterItem item in Repeater1.Items )
{
TextBox FirstName = (TextBox)item.F indControl("txt FirstName");
Response.Write( FirstName.Text) ;
}
But I have a control inside a control of the repeater..So can anyone please... -
-
asp:button column click event
Hi,
I am having a asp button column which onclick should open another page.
My code is in C# and goes like this.
private void dtICHQryDetails _ItemDataBound( object sender, DataGridItemEve ntArgs e)
{
if ((e.Item.ItemTy pe == ListItemType.Al ternatingItem) || (e.Item.ItemTyp e == ListItemType.It em))
{
string strReqNo = e.Item.Cells[0].Text;... -
Hi,
Thanks for the reply.
I have a textbox (say Country code), when I enter a value, then I need to execute a SQLQuery string and get a value (say Country Name for the entered Country code).
So can you please tell me how can I achieve this?
Do I need to create a AJAX Enabled website to get this?
Thanks.Leave a comment:
-
onblur event of a textbox should get a value from database
Hi,
I am new to AJAX and having a small problem.
I have a textbox control which on validating should get a value from database and assign it to one more textbox.
Can anyone please help me on this issue.
Thanks
No activity results to display
Show More
Leave a comment: