Calling Code Behind Methods in Padarn -
does padarn support call methods exist in code behind aspx page?
for example (pseudo):
mypage.cs code behind.
protected string getdata() { return("here's data"); }
mypage.aspx calls getdata() method lives in code behind...
<%= this.getdata() %>
when attempt above example, response displayed in browser reads...
[translated asp]
instead of "here's data".
for record, ctacke answered question in cross-post thread @ opennetcf community forum...
no, asp 3.0-style code doesn't work. you're better off rendering page in render , calling method there. own request handler did kind of parsing, think way more work worth.
Comments
Post a Comment