Re: Reload another tab page from serverside tab page code

pinTab

Reload another tab page from serverside tab page code


Branestawm 05-18-2007, 4:17

Hi

I'm using Pintab 2 in VS 2003 (VB). I have for example, 2 tab pages. If the user is on Tab1, and clicks on Tab2, I want to post back initially to the Tab1 page in order to do some server based validation and processing. If that goes OK then I want to switch to Tab2 as requested, including a reload of the Tab2 page with fresh data. Can you suggest the best way to do this?

Thanks

Jon

Re: Reload another tab page from serverside tab page code


Pintexx Support 05-21-2007, 9:40
Jon,

please have a look at sample
"User .Net validation/postback II" of the evaluation.

This should be exactly what you need.

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


Branestawm 05-21-2007, 11:25

Hi,

Your sample appears to use client side javascript validation. I need to do a postback and validate in the server code before switching to another tab. Is that possible?

Thanks

Jon

Re: Reload another tab page from serverside tab page code


Pintexx Support 05-21-2007, 1:44
Hi,

I don't think that this is possible because you need a return value at client side to decide whether to switch to tab 2 or not.

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-11-2007, 9:49
Hi,

I am evaluting your product. I was trying to utilize this features of postback. It is not working fine for me.

All i want to do is this : I have 4 tabs. When user clicks on a button on tab 1. It needs to go to tab 3. Which is working fine with

parent.objTab.setActiveTab(2)

But the issue is page is not getting loaded. I dont know how to load the page ?. Can you help me ?.

Thanks,
Arun

Re: Reload another tab page from serverside tab page code


Pintexx Support 09-12-2007, 4:44
Hi,

do you load all pages during startup ?

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-13-2007, 3:33
No i dont load all the pages and i dont want to load the page. Because rest of all other pages are getting build based on tab1 selection thats why.

Thanks,
Arun

Re: Reload another tab page from serverside tab page code


Pintexx Support 09-13-2007, 3:39
Hi,

if you want to load a page in the activated tab item then try this:

var item = parent.objTab.getActiveTabItem();
// relative to tab folder
item.setUrl("../evaluation/p2.html");

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-13-2007, 4:04
It creates item object but at
item.setUrl , it says object doesnt support this method or property.

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-13-2007, 4:11
Well i have to tell you.. this is asp.net 2.0 application.

Thanks,
Arun

Re: Reload another tab page from serverside tab page code


Pintexx Support 09-13-2007, 5:10
Hi,

did you install the latest patch ?

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-13-2007, 5:14
well i think i downloaded 3-4 aga. Do you want me to download again ?.

Can you send me the latest patch link to download ?.

Thanks,
Arun

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-13-2007, 6:30
Well i got the link and updated it

pinTabFix.zip 2.0.60503 - is that what you are talking about ?.

Now i am getting different error...

Function Expected. - if i use it

item.setUrl(".....");

But if i use it as item.setUrl = ".....";
it is not giving any error but page is not loaded.

Please let me know if i am missing something.

Thanks,
Arun

Re: Reload another tab page from serverside tab page code


Pintexx Support 09-14-2007, 8:33
Hi,

its

http://www.pintexx.de/download/pinTabFix.zip

Regards,
Hans-Peter

Re: Reload another tab page from serverside tab page code


vkarunkumar 09-14-2007, 7:09
I already replied for you, the issue i am facing after the zip download. Please check my previous reply.

Thanks,
Arun
 Page 1 of 2 (19 items) 1 2 >