Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

QueryStringParam not passing to next page in asp.net

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

3 REPLIES
Community Member

Re: QueryStringParam not passing to next page in asp.net

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.

PhoneTop Login

Enter user ID and PIN

http://www.phonetop.com

User ID

id

N

PIN

pin

PN

Community Member

Re: QueryStringParam not passing to next page in asp.net

Thank you,

Let me check.

Regards,

Senthil Kumar R

Community Member

Re: QueryStringParam not passing to next page in asp.net

Thank you very much!

It is working.

Regards,

Senthil Kumar R

258
Views
0
Helpful
3
Replies
CreatePlease to create content