Last post Dec 15, 2005 12:24 PM by NgocHoang
Dec 13, 2005 06:57 AM|NgocHoang|LINK
I'm facing such problem: passing multiple parameters from one user control to other user control using EditURL function. I know that the function EditURL has an overloaded method for doing this, but I do not know how to use it. Any one can help me solving
I have done a quick search and found no solution. Thank you very much. I appreceate all your ideas.
Dec 15, 2005 01:07 AM|Stranger|LINK
Try like this.
Response.Redirect(EditUrl("Param1Name", "Param1Value", "ControlKey", "Param2Name", "Param2Value", "Param3Name", "Param3Value"))
ControlKey is the the "Key" defined for the control in module definitions.
get parameters with Request.Params eg. Request.Params("Param3Name")
hope this helps
Dec 15, 2005 12:24 PM|NgocHoang|LINK
Thank Stranger very much. I have used your code and it's worked!!!
Now I'm facing new problem passing value in Unicode format to received UserControl. At the sender, I sent Unicode characters to receiver through QueryString. But the receiver can not recognize them.
Here is the detail: I sent Name and Identity Number from one usercontrol to other user control. Name is in Unicode. I have to check if Name and Identity Number existed in the database before passing to the new usercontrol to handle the stuffs.
After checking process succeed, I send Name and Identity Number to new UserControl. But the receiver can not reconize Unicode characters in Name field.
Does anyone know how to solve this problem? Thank you for spending valuable time reading my post.