promisefeni / reallysimplehistory

Automatically exported from code.google.com/p/reallysimplehistory
Other
0 stars 0 forks source link

Not Working in AJAX enabled ASP.NET application #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
RSH is not working for my Ajax enabled ASP.NET application. In my 
application i have used more update panels for asynchronous post back. If 
the control does not trigger any asynchronous post back, that time RSH 
doesn't get the history storage..
For example my page having 5 dropdownlist with out asynchronous post back. 
And also having Datagrid control to show search result. This Grid is inside 
the update panel with search button has asynchronous post back to this 
update panel. 

When I used RSH framework in this page all 5 dropdownlist has filled with 
previous data during the back button operation. But Datagrid not getting 
loaded at this time. Please any one help me on this issue. refer my code as 
follows

 <script type="text/javascript" src="Scripts/json2007.js"></script>
    <script type="text/javascript" src="Scripts/rsh.js"></script>

    <script type="text/javascript" language="javascript">
    delete Object.prototype.toJSONString;
    //alert(Object.prototype.toJSONString);
    //debugger;
    window.dhtmlHistory.create();

    var yourListener = function(newLocation, historyData) 
    {
        alert('inside listener');
    }

    window.onload = function() {
        dhtmlHistory.initialize();
        dhtmlHistory.addListener(yourListener);
    };

    </script>

<body>
<form id="frmLeadDesignate" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Path="Scripts/json2007.js" />
            </Scripts>
        </asp:ScriptManager>
</form>
</body>

I have deleted the following object "Object.prototype.toJSONString;" 
because when i trying to run this application its giving the following 
error.

Error:
Microsoft JScript runtime error: 'Sys.Res.enumValueNotInteger' is null or 
not an object..

For this issue i have delete this object... Please any one give solution 
for this issue.

Original issue reported on code.google.com by ponkumar...@gmail.com on 23 Jul 2009 at 3:04

GoogleCodeExporter commented 8 years ago
Please any one give the solution for this issue............ :(

Original comment by ponkumar...@gmail.com on 24 Jul 2009 at 12:05

GoogleCodeExporter commented 8 years ago
No one can answer my problem???? 
What happened to Google experts??????? 

It is really very amazing :(

Original comment by ponkumar...@gmail.com on 27 Aug 2009 at 10:24