<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>Thanks, I'll&nbsp;check more into that. I'm new&nbsp;to asp.<BR>&nbsp;</DIV>
<DIV><FONT color=#0000ff>Ed Jobe</FONT></DIV>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Jackie Ng &lt;jumpinjackie@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> mapguide-users@lists.osgeo.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, February 13, 2009 8:33:39 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [mapguide-users] aspx code behind<BR></FONT><BR><BR>Yes, <A href="http://asp.net/" target=_blank>asp.net</A> will treat them as HtmlControl (or is it HtmlGenericControl?)<BR>objects on the server-side.<BR><BR>- Jackie<BR><BR><BR>Ed Jobe wrote:<BR>&gt; <BR>&gt; Can you do that to regular html elements? Don't you have to use&nbsp;asp<BR>&gt; controls?<BR>&gt; &nbsp;<BR>&gt; Ed Jobe<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ________________________________<BR>&gt; From: Jackie Ng &lt;<A href="mailto:jumpinjackie@gmail.com" ymailto="mailto:jumpinjackie@gmail.com">jumpinjackie@gmail.com</A>&gt;<BR>&gt; To: <A
 href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>&gt; Sent: Friday, February 13, 2009 4:31:03 AM<BR>&gt; Subject: Re: [mapguide-users] aspx code behind<BR>&gt; <BR>&gt; <BR>&gt; Include a runat="server" attribute in the html element you want to expose.<BR>&gt; <BR>&gt; Then in the code-behind, either set its relevant properties or its<BR>&gt; Attributes collection property.<BR>&gt; <BR>&gt; - Jackie<BR>&gt; <BR>&gt; <BR>&gt; staniz wrote:<BR>&gt;&gt; <BR>&gt;&gt; I am trying to make default.aspx with code behind.<BR>&gt;&gt; Can sameone helps to provide information of code behind with Mapguide<BR>&gt;&gt; API? <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; <A href="http://default.aspx.cs/" target=_blank>default.aspx.cs</A><BR>&gt;&gt; using OSGeo.MapGuide;<BR>&gt;&gt; <BR>&gt;&gt; public partial class Default2 : System.Web.UI.Page<BR>&gt;&gt; {<BR>&gt;&gt;&nbsp; &nbsp; protected
 void Page_Load(object sender, EventArgs e)<BR>&gt;&gt;&nbsp; &nbsp; {<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; MapGuideApi.MgInitializeWebTier(@"C:\Program<BR>&gt;&gt; Files\Autodesk\MapGuideEnterprise2008\WebServerExtensions\www\webconfig.ini");<BR>&gt;&gt; <BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; MgUserInformation userInfo = new MgUserInformation("Anonymous",<BR>&gt;&gt; "");<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; MgSite site = new MgSite();<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; site.Open(userInfo);<BR>&gt;&gt; <BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; String sessionId = site.CreateSession();<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; String webLayout = "Library://DevTV/HelloWorld.WebLayout";<BR>&gt;&gt; <BR>&gt;&gt;&nbsp; &nbsp; }<BR>&gt;&gt; }<BR>&gt;&gt; <BR>&gt;&gt; default.aspx<BR>&gt;&gt; &lt;html xmlns="<A href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml</A>" &gt;<BR>&gt;&gt; &lt;head&gt;<BR>&gt;&gt;&nbsp; &nbsp;
 &lt;title&gt;HelloWorld&lt;/title&gt;<BR>&gt;&gt; &lt;/head&gt;<BR>&gt;&gt; <BR>&gt;&gt; &lt;frameset rows="0,*" border="0" framespacing="0"&gt;<BR>&gt;&gt;&nbsp; &lt;frame /&gt;<BR>&gt;&gt;&nbsp; &lt;frame id="ViewerFrame"<BR>&gt;&gt; src="/mapguide2008/mapviewernet/ajaxviewer.aspx?SESSION=sessionId&amp;WEBLAYOUT=webLayout"/&gt;<BR>&gt;&gt; &lt;/frameset&gt;<BR>&gt;&gt; <BR>&gt;&gt; &lt;/html&gt;&nbsp; <BR>&gt;&gt; <BR>&gt;&gt; ****<BR>&gt;&gt; <BR>&gt;&gt; How to sent value from code behind to aspx?<BR>&gt;&gt; please help..<BR>&gt;&gt; <BR>&gt;&gt; regards,<BR>&gt;&gt; Staniz<BR>&gt;&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; View this message in context:<BR>&gt; <A href="http://n2.nabble.com/aspx-code-behind-tp2319949p2320957.html" target=_blank>http://n2.nabble.com/aspx-code-behind-tp2319949p2320957.html</A><BR>&gt; Sent from the MapGuide Users mailing list archive at <A href="http://nabble.com/" target=_blank>Nabble.com</A>.<BR>&gt; <BR>&gt;
 _______________________________________________<BR>&gt; mapguide-users mailing list<BR>&gt; <A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; mapguide-users mailing list<BR>&gt; <A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt; <BR>&gt; <BR><BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/aspx-code-behind-tp2319949p2325214.html"
 target=_blank>http://n2.nabble.com/aspx-code-behind-tp2319949p2325214.html</A><BR>Sent from the MapGuide Users mailing list archive at Nabble.com.<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR><A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR><A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR></DIV></DIV></div></body></html>