Ask a Question related to ASP.NET General, Design and Development.
-
kevin #1
Framework 1.1 ASP.NET smartnavigation problem with Panel
hi, all
it seems that smartnavigation has problem with the hide/show panel in the
aspx page,
I have three panel wih back/next buttons, the first two page works fine, but
at the last
page, all click on the buttons gives an error saying "Undefine" is null or
not an object.
what cauase that? because when I take off smartnagivation on web.config,
everything
works fine.
Kevin
kevin Guest
-
Problem with .net framework
Hi, I am installing a new application using IIS 6 on a Windows 2003 Standard Server. When I follow the installation procedure, but when I come to... -
SOAP Encoding problem with framework 1.1
In my experience you cannot safely assume you can upgrade your 1.0 servers to 1.1 and have 1.0 clients (or clients built to your 1.0 WSDL) safely... -
SmartNavigation Datagrid problem in Windows 2003 Server
I have an ASP .net web application installed in a Windows 2003 server. This web application has a webform that has a Datagrid. This Datagrid is... -
Smartnavigation and EditItemIndex problem
I have a datalist with an itemedittemplate. When I have smartnavigation on, I can't exit out from edit mode with EditItemIndex = -1. When... -
HTMLButton problem with .Net Framework 1.1
Any news on a solution or workaround? (It's not practical for us to create all our webcontrols in the same project.) thanks Richard -
Marina #2
Re: Framework 1.1 ASP.NET smartnavigation problem with Panel
Smart navigation is known to have many issues, and is generally not
recommended (at least not for anything with any level of complexity).
"kevin" <kyu@nrcan.gc.ca> wrote in message
news:up64jzhVDHA.2012@TK2MSFTNGP10.phx.gbl...but> hi, all
>
>
> it seems that smartnavigation has problem with the hide/show panel in the
> aspx page,
> I have three panel wih back/next buttons, the first two page works fine,> at the last
> page, all click on the buttons gives an error saying "Undefine" is null or
> not an object.
>
> what cauase that? because when I take off smartnagivation on web.config,
> everything
> works fine.
>
>
> Kevin
>
>
Marina Guest
-
Krissy #3
Re: Framework 1.1 ASP.NET smartnavigation problem with Panel
"kevin" <kyu@nrcan.gc.ca> wrote in message
news:up64jzhVDHA.2012@TK2MSFTNGP10.phx.gbl...but> hi, all
>
>
> it seems that smartnavigation has problem with the hide/show panel in the
> aspx page,
> I have three panel wih back/next buttons, the first two page works fine,Unfortunately Smart Navigation is really buggy :(> at the last
> page, all click on the buttons gives an error saying "Undefine" is null or
> not an object.
>
> what cauase that? because when I take off smartnagivation on web.config,
> everything
> works fine.
>
>
> Kevin
>
Instead, you can add this JavaScript to your page (I use it on my projects
and it works fine :) )
The idea is that when client ever clicks something on the page, it's scroll
position is stored to hidden variable by using getPosition() function. If
postback happens, setPosition() is called and it restores the scroll
position.
----------------------------------------------------------------------
Put this in the <head> tags of the page:
<script>
function getPosition()
{
document.forms[0].hid.value=document.body.scrollTop;
}
function setPosition()
{
document.body.scrollTop=document.forms[0].hid.value;
}
</script>
And at the body tag, place:
<body onmousedown="getPosition()" onload="setPosition()">
<form id=WebForm1 method=post runat="server">
<input type="hidden" id="hid" runat="server" >
Krissy Guest



Reply With Quote

