Click here to Skip to main content
16,017,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friend i have some problem when implimenting project.i have work in classic asp page,vb script,.aspx page,c# page.
i want to know how to retrieve value from .aspx page in classic asp.

i did used iframe for showing html editor extender text

classic asp page:
<iframe id="iframe_work" src="txtEditor.aspx?work=<%=work%>" height="450" width="570"></iframe>

.aspx page

XML
<ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
          </ajax:ToolkitScriptManager>
          <asp:UpdatePanel ID="UpdatePanel1" runat="server">
              <ContentTemplate>
                  <asp:TextBox runat="server" ID="txtWork" TextMode="MultiLine" height="450" width="570" Text='<%#Eval("work")%>'></asp:TextBox>
                  <ajax:HtmlEditorExtender ID="htmlEditExtForTextBox" TargetControlID="txtWork" runat="server"
                      EnableSanitization="false">
                  </ajax:HtmlEditorExtender>
              </ContentTemplate>
          </asp:UpdatePanel>


when i did work to edit data its works fine means showing data but i didnt get in editing value or new fresh value of txtwork or txtwork value.

My question is how to get value from aspx page in classic asp.i want to retrive value from .aspx page in classic asp.
Posted
Comments
Member 8089110 28-Jan-15 0:53am    
how to get value from iframe in classic asp

1 solution

You can use following methods to transfer values between page.


1. Query string.
2. Session.
3. Cookies.
4. Get HTTP POST information from the source page.
5. Self post

Please check following links :

http://stackoverflow.com/questions/253142/how-to-post-a-page-from-asp-net-to-classic-asp[^]

http://stackoverflow.com/questions/8241470/asp-net-pass-a-value-into-next-page[^]


Transferring page values to another page[^]


I think in your scenario you can use self post method.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900