|
|
pinTab
Started by Branestawm at 05-18-2007 4:17 . Topic has 18 replies.
 
 
|
|
Sort Posts:
|
|
|
|
05-18-2007, 4:17
|
Branestawm
Joined on 01-05-2006
Posts 6
|
Reload another tab page from serverside tab page code
|
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
05-21-2007, 9:40
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
05-21-2007, 11:25
|
Branestawm
Joined on 01-05-2006
Posts 6
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
05-21-2007, 1:44
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-11-2007, 9:49
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-12-2007, 4:44
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
Hi,
do you load all pages during startup ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 3:33
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 3:39
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 4:04
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
It creates item object but at
item.setUrl , it says object doesnt support this method or property.
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 4:11
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
Well i have to tell you.. this is asp.net 2.0 application.
Thanks,
Arun
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 5:10
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
Hi,
did you install the latest patch ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 5:14
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-13-2007, 6:30
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
09-14-2007, 8:33
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
Hi,
its
http://www.pintexx.de/download/pinTabFix.zip
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
09-14-2007, 7:09
|
vkarunkumar
Joined on 09-11-2007
Posts 8
|
Re: Reload another tab page from serverside tab page code
|
|
|
|
|
I already replied for you, the issue i am facing after the zip download. Please check my previous reply.
Thanks,
Arun
|
|
|
|
|
Report
|
|
|
|
|
|
Page 1 of 2 (19 items)
|
1 2 > |
|
|
|
|