08-06-2008 05:11 AM - edited 03-13-2019 05:32 PM
Hi,
I have an issue in QueryStringParam.
I am collecting the user details using the CreateIPPhoneInput, but the inputs are not passed to the next page. Here the code snippets (using asp.net, c#)
protected void Page_Load(object sender, EventArgs e)
{
Response.Clear();
Response.ContentType = "text/xml";
//Collect the Agent Input
Response.Write(
"<CiscoIPPhoneInput>" +
"<Title>Agent Login Information</Title> " +
"<Prompt>Please provide your Information</Prompt>" +
"<URL>http://192.168.202.13/CiscoPhoneTest/LoginResult.aspx</URL>" +
"<InputItem>" +
"<DisplayName>Agent ID</DisplayName>" +
"<QueryStringParam>agentId</QueryStringParam>" +
"<DefaultValue>1181</DefaultValue>" +
"<InputFlags>N</InputFlags>" +
"</InputItem>" +
"<InputItem>" +
"<DisplayName>Password</DisplayName>" +
"<QueryStringParam>userPwd</QueryStringParam>" +
"<DefaultValue>1181</DefaultValue>" +
"<InputFlags>N</InputFlags>" +
"</InputItem>" +
"<InputItem>" +
"<DisplayName>Extention</DisplayName>" +
"<QueryStringParam>userExtn</QueryStringParam>" +
"<DefaultValue>1181</DefaultValue>" +
"<InputFlags>N</InputFlags>" +
"</InputItem>" +
"<SoftKeyItem>" +
"<Name>Login</Name>" +
"<URL>http://192.168.202.13/CiscoPhoneTest/LoginResult.aspx</URL>" +
"<Position>1</Position>" +
"</SoftKeyItem>" +
"<SoftKeyItem>" +
"<Name>Exit</Name>" +
"<URL>SoftKey:Exit</URL>" +
"<Position>2</Position>" +
"</SoftKeyItem>" +
"</CiscoIPPhoneInput>"
);
Response.End();
Any problem in the code?
Thank you.
Regards,
Senthil Kumar R
08-06-2008 06:54 PM
Try it without the soft keys, this is what I have and it works. Also, use PN as InputFlag for password to hide it as user enters it.
08-06-2008 08:11 PM
Thank you,
Let me check.
Regards,
Senthil Kumar R
08-10-2008 08:28 PM
Thank you very much!
It is working.
Regards,
Senthil Kumar R
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide