About
Pricing
Community
Teams
Start Free Trial
Log in
dipster307
asked on
11/15/2019
How to use document.getElementById(StgElementName) in C#
How do use "document.getElementById(S
tgElementN
ame)" in C#, I tried the following but not working.
HtmlGenericControl myControl1 = (HtmlGenericControl)FindCo
ntrol(StgE
lementName
);
myControl1.InnerText = stgElementContent;
ASP.NET
C#
3
1
Last Comment
Eduard Ghergu
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Eduard Ghergu
11/15/2019
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
dipster307
11/16/2019
ASKER
Thanks Eduard, school boy error, I realised I wasn't passing the elementID, kicking myself I didn't see that.
Eduard Ghergu
11/16/2019
Hi! My pleasure! If you need more help, please, let me know.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck