cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
396
Views
0
Helpful
3
Replies

QueryStringParam not passing to next page in asp.net

senthil.kumar.r
Level 1
Level 1

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 3

msabir
Level 4
Level 4

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

senthil.kumar.r
Level 1
Level 1

Thank you,

Let me check.

Regards,

Senthil Kumar R

Thank you very much!

It is working.

Regards,

Senthil Kumar R

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: