ModuleID not available in Browser.cs

Feb 11, 2011 at 6:39 AM

I'm working on an enhancement for the Browser.aspx.

For that I need the ModuleID. But if I'm correct the ModuleID is currently not available there, correct?

A solution would be to add it to the calling URL. But is that the best way in your opinion?

Rob

Feb 11, 2011 at 11:06 AM

Yes agree url is the best way i already did this on the options page.

I checked in the code to svn.

You can now access the Module Id inside the Browser with:

 

// Get ModuleID from Url
if (this.request.QueryString["mid"] != null && Information.IsNumeric(this.Request.QueryString["mid"]))
{
iMid = Convert.ToInt32(this.request.QueryString["mid"]);
}

Feb 11, 2011 at 12:01 PM

Great! Thanks.