Hello Everyone ,
I am having url in that i could control all HTML elements except tab elements in a Class i have tried all possible ways but i could not find
Tab structure tags for Details Tab
Tab structure tags for Related Objects Tab
- while (_Processing)
- {
- Application.DoEvents();
- if (doc != null)
- {
- while (x == 0)
- {
- System.Windows.Forms.Application.DoEvents();
- IHTMLElementCollection curTags6 = doc.getElementsByTagName("li");
- foreach (var curElement in curTags6)
- {
- HTMLLIElementClass curATag = ((mshtml.HTMLLIElementClass)curElement);
- lstATags.Add(curATag.innerHTML);
- var curAnchorText = curATag.innerHTML != null ? curATag.innerHTML : null;
- if (curAnchorText != null && curAnchorText.Contains("Related Objects"))
- {
- IHTMLElementCollection curTags7 = doc.getElementsByTagName("li");
- foreach (var curElement1 in curTags7)
- {
- HTMLLIElementClass curATag1 = ((mshtml.HTMLLIElementClass)curElement1);
- lstATags.Add(curATag1.innerHTML);
- var curAnchorText1 = curATag1.innerHTML != null ? curATag1.innerHTML : null;
- if (curAnchorText1 != null && curAnchorText1.Contains("Details"))
- {
- curATag1.IHTMLElement_className = "";
- curATag.click();
- curATag.click();
- curATag.IHTMLElement_className = " x-tab-strip-over x-tab-strip-active";
Only tabs get activated but tab information is not diplayed please anybody help me
Thanks and Regards,
Yogesh
Replies
Know the answer? Post it — somebody with the same question will find it here.