Link to home
Start Free TrialLog in
Avatar of rourkas1
rourkas1

asked on

adding runat="server" getting Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

I have added a vb activex to my asp.net C# app.

when I add the runat="server" I get Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
 
html:
<OBJECT id="cboStaffName2" runat="server" classid="clsid:3BC38FE0-D0E5-4475-A3EE-B5C7FF60593A" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="7117">
<PARAM NAME="_ExtentY" VALUE="714">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="Text"  "">
<PARAM NAME="ForeColour" VALUE="-2147483640">
<PARAM NAME="BackColour" VALUE="-2147483643">
<PARAM NAME="FontHeight" VALUE="8.25">
</OBJECT>

C# code:

protected IMAWrapperAutoComboField.AutoComboFieldClass cboStaffName2;
.......
string s = "string1string2string3";
cboStaffName2.loadComboList(s);
ASKER CERTIFIED SOLUTION
Avatar of Piotr Strycharz
Piotr Strycharz
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial