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-x xxxxxxxxxx x).
html:
<OBJECT id="cboStaffName2" runat="server" classid="clsid:3BC38FE0-D0 E5-4475-A3 EE-B5C7FF6 0593A" 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.A utoComboFi eldClass cboStaffName2;
.......
string s = "string1string2string3";
cboStaffName2.loadComboLis t(s);
when I add the runat="server" I get Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-x
html:
<OBJECT id="cboStaffName2" runat="server" classid="clsid:3BC38FE0-D0
<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.A
.......
string s = "string1string2string3";
cboStaffName2.loadComboLis
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.