Click here to Skip to main content
15,886,873 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Adding Text To An Image Pin
Hetelek30-Jun-11 5:35
Hetelek30-Jun-11 5:35 
GeneralRe: Adding Text To An Image Pin
GenJerDan30-Jun-11 6:03
GenJerDan30-Jun-11 6:03 
AnswerRe: Adding Text To An Image Pin
John Y.5-Jul-11 8:11
John Y.5-Jul-11 8:11 
QuestionSome questions about WebService Pin
FariyEye24-Jun-11 5:30
FariyEye24-Jun-11 5:30 
AnswerRe: Some questions about WebService [modified] Pin
Rene Bustos27-Jul-11 21:08
Rene Bustos27-Jul-11 21:08 
Questionshared hosting vs cloud Pin
Jassim Rahma22-Jun-11 2:17
Jassim Rahma22-Jun-11 2:17 
AnswerRe: shared hosting vs cloud Pin
JV999923-Jun-11 3:58
professionalJV999923-Jun-11 3:58 
QuestionHow bypass this ? Pin
Vimalsoft(Pty) Ltd20-Jun-11 19:03
professionalVimalsoft(Pty) Ltd20-Jun-11 19:03 
Every time i am about to post a thread i get an answer while typing the message, maybe i explain it to myself better when i write it , OK so if you have seen this post it means i have not find an answer Smile | :)

I have a Silverlight app that passes a query string to an asp.net page that has an iframe that is hosting a third-party gateway page as depicted below

<form id="Form1" runat="server"  method="post" >
        <input type="hidden" name="p1" value='<%=(MerchantID) %>' />
        <input type="hidden" name="p2" value='<%=(GetNextTransID) %>' />
        <input type="hidden" name="p3" value='Purchase credits' />
        <input type="hidden" name="p4" value='<%=(Amount) %>' />
        <input type="hidden" name="m_1" value='<%=(Userid) %>' />
        <input type="hidden" name="m_2" value='<%=(Schoolid) %>' />
    <asp:Panel ID="Panel1"  runat="server">
        <table class="style1">
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td style="text-align: center">
                    &nbsp;</td>
            </tr>
        </table>
    </asp:Panel>
 
    <div id="layer1" 
        style="position: absolute; width: 759px; height: 357px; z-index: 1; left: 88px; top: 233px">
 
         
        <iframe id="iframecredit" name="I1"    src="https://www.vcs.co.za/vvonline/ccform.asp"
            style="width: 744px; height: 333px; margin-top: 16px; margin-bottom: 0px;">

		Your browser does not support inline frames or is currently configured not to display inline frames.
		</iframe></div>
	<p>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <img alt="Ecash" height="609" src="images/BG.jpg" width="924" />
                </p>

    </form> 


This payment gateway page accepts the parameters as you can see them there, so i have Properties that has values [B]"After the Page load"[/B] so i cant get the values of the Query string before the page load. now the iframe will load with empty values, now i want to initialize the values before the iframe gets displayed

so my Page load will look like this


protected void Page_Load(object sender, EventArgs e)
       {

                   m_SchoolId = Request.QueryString["SchoolID"];

                   //MerchantID
                    m_MerchantId =  Request.QueryString["MerchantID"];
                    MerchantID =m_MerchantId;

                    //GetNextTransID
                    Guid g;
                    g = Guid.NewGuid();
                    GetNextTransID = g.ToString();

                    //Userid
                    m_Userid = Request.QueryString["UserID"];
                    Userid = m_Userid;

                    //Schoolid
                    Schoolid = m_SchoolId;

                    //Amount
                    m_Amount = Request.QueryString["Amount"];
                    Amount = m_Amount;


       }


I can step through this and i can get the values that i expect , but the problem is that the iframe URL get rendered first and obviously the values of the page load wouldn't have have values by that that time, how do i bypass this. any idea?

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

QuestionDrop down menu Pin
Dave McCool20-Jun-11 5:53
Dave McCool20-Jun-11 5:53 
AnswerRe: Drop down menu Pin
enhzflep20-Jun-11 6:10
enhzflep20-Jun-11 6:10 
GeneralRe: Drop down menu Pin
Dave McCool22-Jun-11 3:38
Dave McCool22-Jun-11 3:38 
QuestionLive Streaming on Windows Server Pin
Jassim Rahma19-Jun-11 22:44
Jassim Rahma19-Jun-11 22:44 
QuestionLaunching a program with ActiveXObject Pin
musefan16-Jun-11 1:08
musefan16-Jun-11 1:08 
QuestionImage moves while doing show/hide Pin
Nitin198114-Jun-11 1:50
Nitin198114-Jun-11 1:50 
AnswerRe: Image moves while doing show/hide Pin
Shahriar Iqbal Chowdhury/Galib22-Jun-11 11:21
professionalShahriar Iqbal Chowdhury/Galib22-Jun-11 11:21 
QuestionStyling different states for an element Pin
Ali Al Omairi(Abu AlHassan)12-Jun-11 22:50
professionalAli Al Omairi(Abu AlHassan)12-Jun-11 22:50 
AnswerRe: Styling different states for an element Pin
Gerben Jongerius3-Aug-11 2:15
Gerben Jongerius3-Aug-11 2:15 
GeneralRe: Styling different states for an element Pin
Ali Al Omairi(Abu AlHassan)3-Aug-11 23:27
professionalAli Al Omairi(Abu AlHassan)3-Aug-11 23:27 
QuestionCss Query Pin
Benjamin Kadurkotta5-Jun-11 23:36
Benjamin Kadurkotta5-Jun-11 23:36 
AnswerRe: Css Query Pin
Shameel14-Jul-11 2:58
professionalShameel14-Jul-11 2:58 
QuestionFont looks different with same styles Pin
Phatinox5-Jun-11 23:27
Phatinox5-Jun-11 23:27 
AnswerRe: Font looks different with same styles Pin
Graham Breach6-Jun-11 2:49
Graham Breach6-Jun-11 2:49 
AnswerMessage Removed Pin
6-Jun-11 2:51
professionalUser 17164926-Jun-11 2:51 
GeneralRe: Font looks different with same styles Pin
Phatinox6-Jun-11 3:38
Phatinox6-Jun-11 3:38 
QuestionStyling a message Box Pin
Ali Al Omairi(Abu AlHassan)28-May-11 22:19
professionalAli Al Omairi(Abu AlHassan)28-May-11 22:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.