<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 check more into that. I'm new to asp.<BR> </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 <jumpinjackie@gmail.com><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>> <BR>> Can you do that to regular html elements? Don't you have to use asp<BR>> controls?<BR>> <BR>> Ed Jobe<BR>> <BR>> <BR>> <BR>> <BR>> ________________________________<BR>> From: Jackie Ng <<A href="mailto:jumpinjackie@gmail.com" ymailto="mailto:jumpinjackie@gmail.com">jumpinjackie@gmail.com</A>><BR>> To: <A
href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>> Sent: Friday, February 13, 2009 4:31:03 AM<BR>> Subject: Re: [mapguide-users] aspx code behind<BR>> <BR>> <BR>> Include a runat="server" attribute in the html element you want to expose.<BR>> <BR>> Then in the code-behind, either set its relevant properties or its<BR>> Attributes collection property.<BR>> <BR>> - Jackie<BR>> <BR>> <BR>> staniz wrote:<BR>>> <BR>>> I am trying to make default.aspx with code behind.<BR>>> Can sameone helps to provide information of code behind with Mapguide<BR>>> API? <BR>>> <BR>>> <BR>>> <A href="http://default.aspx.cs/" target=_blank>default.aspx.cs</A><BR>>> using OSGeo.MapGuide;<BR>>> <BR>>> public partial class Default2 : System.Web.UI.Page<BR>>> {<BR>>> protected
void Page_Load(object sender, EventArgs e)<BR>>> {<BR>>> MapGuideApi.MgInitializeWebTier(@"C:\Program<BR>>> Files\Autodesk\MapGuideEnterprise2008\WebServerExtensions\www\webconfig.ini");<BR>>> <BR>>> MgUserInformation userInfo = new MgUserInformation("Anonymous",<BR>>> "");<BR>>> MgSite site = new MgSite();<BR>>> site.Open(userInfo);<BR>>> <BR>>> String sessionId = site.CreateSession();<BR>>> String webLayout = "Library://DevTV/HelloWorld.WebLayout";<BR>>> <BR>>> }<BR>>> }<BR>>> <BR>>> default.aspx<BR>>> <html xmlns="<A href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml</A>" ><BR>>> <head><BR>>>
<title>HelloWorld</title><BR>>> </head><BR>>> <BR>>> <frameset rows="0,*" border="0" framespacing="0"><BR>>> <frame /><BR>>> <frame id="ViewerFrame"<BR>>> src="/mapguide2008/mapviewernet/ajaxviewer.aspx?SESSION=sessionId&WEBLAYOUT=webLayout"/><BR>>> </frameset><BR>>> <BR>>> </html> <BR>>> <BR>>> ****<BR>>> <BR>>> How to sent value from code behind to aspx?<BR>>> please help..<BR>>> <BR>>> regards,<BR>>> Staniz<BR>>> <BR>> <BR>> -- <BR>> View this message in context:<BR>> <A href="http://n2.nabble.com/aspx-code-behind-tp2319949p2320957.html" target=_blank>http://n2.nabble.com/aspx-code-behind-tp2319949p2320957.html</A><BR>> Sent from the MapGuide Users mailing list archive at <A href="http://nabble.com/" target=_blank>Nabble.com</A>.<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>> <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>> <BR>> <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>