Using
string iframeSrcPage = iframeMain.Attributes["src"];
to get iframe source, always returns the value which set in aspx page itself,
even that value is changed using javascript code,
iframeObject.src = pageURL;
So, how to get an IFrame src attribute value from ASP.Net code behind?