Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid sort and Javascript problem

Status
Not open for further replies.

dbsquared

Programmer
Nov 7, 2002
175
US
Hi all,
What I have is a web page with a javascript generated menu (i have to use javascript because menu creates dynamic windows on the fly).
I also have a datagrid that I am allowing the user to do sorting on. Here is my issue when I sort the datagrid the menu bar disappears. When I hit the refresh button on the browser the menu bar comes back but my sort disappears.

It is puzzling and I need the menu because when the user selects one or more entries to be updated the javascript menu creates a new window for them with all the selections that they made and the type of menu item selected.

Any help with this issue would be greatly appreciated.

Thanks

To go where no programmer has gone before.
 
hi,

looks like your menubar is manipulating the links on the page (the sort command is a link right?). check to see if this happens for any other link...

Known is handfull, Unknown is worldfull
 
One thing I have discovered is any time there is any type of post back the menu disappears, even a button click that does nothing. So appears to be some type of javascript issue for the menu.
I am trying to recreate the menu in ASP.Net which I have used the skmMenu and it works good the only problem now I see is calling the javascripts from the menu.
Any help with htat would be greatly appreciated.

Thanks again

To go where no programmer has gone before.
 
>>now I see is calling the javascripts from the menu.

i would suggest using FAQs of skmMenu (i have absolutely no idea what they are)...

Known is handfull, Unknown is worldfull
 
Found out how to call javascript from skmMenu in the url line put: javascript:YourFunctionHere()


To go where no programmer has gone before.
 
great ;)...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top