Loading ...

Bind Repeater on DropDownList's Item Change

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  client side web development   » Bind Repeater on DropDownList's Item Change

Bind Repeater on DropDownList's Item Change

Posts under the topic: Bind Repeater on DropDownList's Item Change

Posted: 5/18/2010

Contributor 2237  points  Contributor
  • Joined on: 9/24/2009
  • Posts: 172

Hello Experts,

In my application I am binding a Repeater on DropDownList selected index change event with postback.

But I want to this without postback(onClientSide).

Is it possible?

 

Thanks in advance.

 

 


Posted: 6/9/2010

Professional 8495  points  Professional
  • Joined on: 5/3/2010
  • Posts: 389
  Answered

Probably you do bind the Repeater on server side.

If you want to not post back the whole page, use Ajax.

Put the repeater and the DropDownList inside the UpdatePanel. Make the UpdatePanel to trigger on DropDownList_SelectedIndexChanged event of the DropDownList and it will do the job you need ;).

Regards,
Hajan


Posted: 6/11/2010

Guru 16518  points  Guru
  • Joined on: 4/19/2009
  • Posts: 483
  Answered

Mohit you need to play with client side templates then. Client side only knows about HTML that's it it has nothing to deal with repeater or datalist etc. Go for jquery templates.


Page 1 of 1 (3 items)