AJAX Accordion
-
Hi guys Can you help me please??!! First : I have two asp.net pages The first one is Default.aspx and it contain links like this: http://srv0204-07.sjc3.imeem.com/g/p/d1c268e05b0d66e5fcd78596c4c37eef_raw.jpg And thes second dete.aspx contain AJAX Accordion1 and it shown like this: http://srv0204-02.sjc3.imeem.com/g/p/cffdf204fbf09d156c87d3ef44921ec0_raw.jpg Now ,the question is how to pass the the number of the link in the first page to the second page? Because I want to pass the number of the link in Default.aspx to dete.aspx and put it SelectedIndex ="Here". So when I Press on the first link "Flights Events" (Default.aspx) it should be go to the second page and open AccordionPane1 (dete.aspx) And when I press on the link Games & fun (Default.aspx) it should open the AccordionPane2 in (dete.aspx) :wtf: :wtf: :wtf: :wtf: :wtf: :wtf:
al hajjaj
-
Hi guys Can you help me please??!! First : I have two asp.net pages The first one is Default.aspx and it contain links like this: http://srv0204-07.sjc3.imeem.com/g/p/d1c268e05b0d66e5fcd78596c4c37eef_raw.jpg And thes second dete.aspx contain AJAX Accordion1 and it shown like this: http://srv0204-02.sjc3.imeem.com/g/p/cffdf204fbf09d156c87d3ef44921ec0_raw.jpg Now ,the question is how to pass the the number of the link in the first page to the second page? Because I want to pass the number of the link in Default.aspx to dete.aspx and put it SelectedIndex ="Here". So when I Press on the first link "Flights Events" (Default.aspx) it should be go to the second page and open AccordionPane1 (dete.aspx) And when I press on the link Games & fun (Default.aspx) it should open the AccordionPane2 in (dete.aspx) :wtf: :wtf: :wtf: :wtf: :wtf: :wtf:
al hajjaj
Can't you pass the value as query string?
Navaneeth How to use google | Ask smart questions
-
Can't you pass the value as query string?
Navaneeth How to use google | Ask smart questions
-
AccordionPane1 some words AccordionPane2 ha ha ha ha ha h hahah ah ah ah ah ah ah ah
this is the code so how to pass value from another page to this page, i wanna to change SelectedIndex ="0" to the passed value????? :omg:
al hajjaj
You can use QueryString. QueryString is a pair that you can pass in your URL. eg. www..com/Default.aspx?var1=1 when you click the above link, it will open the Default.aspx page and you will a QueryString variable which you access and use it's value on Default.aspx page On Default.aspx page_load event, do this, dim xyz as string = Request.QueryString("var1") this will put 1 in xyz on page load. Hope this will solve your problem.
-
You can use QueryString. QueryString is a pair that you can pass in your URL. eg. www..com/Default.aspx?var1=1 when you click the above link, it will open the Default.aspx page and you will a QueryString variable which you access and use it's value on Default.aspx page On Default.aspx page_load event, do this, dim xyz as string = Request.QueryString("var1") this will put 1 in xyz on page load. Hope this will solve your problem.
thanks VikashGohil for your help. but this way won't work. because i want to pass a value to HTML(but it's AJAX component) cod not VB.cod! so how can i pass value to HTML property? you it just like you send value for table size!! can we use GET or something like that? :wtf: :wtf:
al hajjaj
-
thanks VikashGohil for your help. but this way won't work. because i want to pass a value to HTML(but it's AJAX component) cod not VB.cod! so how can i pass value to HTML property? you it just like you send value for table size!! can we use GET or something like that? :wtf: :wtf:
al hajjaj
-
You can use QueryString. QueryString is a pair that you can pass in your URL. eg. www..com/Default.aspx?var1=1 when you click the above link, it will open the Default.aspx page and you will a QueryString variable which you access and use it's value on Default.aspx page On Default.aspx page_load event, do this, dim xyz as string = Request.QueryString("var1") this will put 1 in xyz on page load. Hope this will solve your problem.
-
Can't you pass the value as query string?
Navaneeth How to use google | Ask smart questions