Post back to default page when generate javascript deepgrid in asp.net

This is a discussion on "Post back to default page when generate javascript deepgrid in asp.net" within the JavaScript Forum section. This forum, and the thread "Post back to default page when generate javascript deepgrid in asp.net are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 2nd, 2007, 09:49
New Member
Join Date: Oct 2007
Location: Malaysia
Age: 25
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post back to default page when generate javascript deepgrid in asp.net

When I click on a link which contain a javascript deepgrid(abc.aspx), something weird happened. It will load the default page(default.aspx) after finish loaded the abc.aspx. I have no problem with those page that no deepgrid inside. Problem only occur when the page contain deepgrid.

Here is my code:

var javaDG = new DeepGrid("DGPosition",null,"100%");
javaDG.ColumnHeaders.setBackgroundColor("LIGHTBLUE ");
javaDG.ColumnHeaders.setForegroundColor("BLACK");
javaDG.setAltColor(true, "#FFFFF4", "#ECF0FF");
javaDG.ColumnHeaders.add(null,null,null,null,"4%", null,DG_RADIO,null,null,"onclick=LoadPositionInfo( this);",null);
javaDG.ColumnHeaders.add(null,null,"Seq",null,"3%" ,null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"PositionValue" ,null,null,null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"Position",null ,"17%",null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"Name",null,"30 %",null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"Phone",null,"1 0%",null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"Fax",null,"10% ",null,null,null,null,null,null);
javaDG.ColumnHeaders.add(null,null,"Email",null,"2 6%",null,null,null,null,null,null);

if i disable all the ColumnHeaders.add then the page will work fine.

can anyone help me on this?

thanks in advance.
Reply With Quote

  #2 (permalink)  
Old Oct 2nd, 2007, 10:18
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Post back to default page when generate javascript deepgrid in asp.net

Hi Zacklau,

I don't know an incredible amount about the deepgrid layers but do you have a link so I can see the page and maybe sniff out why the page is loading back to the default?

Thanks,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
opera, back button & javascript interval paza JavaScript Forum 4 May 23rd, 2008 21:19
Go back without using javascript abdoukadri JavaScript Forum 13 Dec 15th, 2007 06:53
Linking an outside page back to previous framed page MJustison Starting Out 1 Oct 18th, 2007 17:49
Problem with Javascript Back Button in Firefox gorikain JavaScript Forum 4 Jun 25th, 2007 22:23
How to set default size for html page? mohabitar Web Page Design 5 Mar 11th, 2007 19:12


All times are GMT. The time now is 04:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43