Hi, I have two modules in a Page in ASP.NET 1.1. In Module A, I have a dropdown list. When its value changes, I need to know its value when I want to render the data in module B. Therefore please let me know how I can read the dropdown list new value in Module B at serverside code. Samy
Samy Lahur
Posts
-
Reading a Variable Value from another Module in a Page -
How to send a POST RequestDear Javier, Yes, Actually I need a POST Method. I must transfer the MerchantID and Amount to a Payment Gateway and it needs the parameters being passed with POST Method. Regards, Samy
-
How to send a POST RequestHi, I want to redirect a user from my server to another server and meanwhile pass some data via post method to the second server page. Please let me know how can I do this? For example: http://www.test.com/req.aspx?ID=1000 This is the GET Moethod version I want to pass the ID=1000 via the post method while redirecting the user to www.test.com/req.aspx Please help, Samy
-
Sending File to ClientsDear Mihir, You are right. I checked the Response.WriteFile with a path and also sent the Header and MIME type and it worked perfect. Thanks a lot, Samy
-
Sending File to ClientsDear Mihir, The Server.MapPath Requires a Virtual path on the server, But my file is not web shared and is stored in a place which is not accessible through web. I stored my files in e:\inetpub\Files and the web server root is e:\inetpub\wwwroot. Therefore I want to access the files e:\inetpub\file\file1.zip and send it to client. The Server.MapPath("file1.zip") returns e:\inetpub\wwwroot\file1.zip which is not a valid path and therefore the file exist check is false. Do you have any idea? Samy
-
Sending File to ClientsDear All, I have some files stored in a folder except wwwroot and I need a serverside code to read that file and send it to the client after checking some user authentication and authorization for download. Please share your code samples. Regards, Samy
-
Unable to Load XMLHi, I am so sorry. Here si the error. 'contact' is an undeclared namespace. Line 8, position 2. As It shows the namespace is not defined. But the XML is generated by a server and I can't change the strcuture. Therefore How can I bypass this error checking. Regards, Samy
-
Unable to Load XMLHi, I am so sorry. Here si the error. 'contact' is an undeclared namespace. Line 8, position 2. As It shows the namespace is not defined. But the XML is generated by a server and I can't change the strcuture. Therefore How can I bypass this error checking. Regards, Samy
-
Unable to Load XMLHi, I am new to XML and C#. I want to load this XML via the below code to an XmlDocument but it returns an Error which I don't know how to handle it. Here is the XML: Command completed successfully Epp1464 CrtContact0031 CrtContact0031-OLNIC-SRV 979170f7c148e945e352c7d155da8ac2 And here is my code. Actually I need also to know how to get the and node bvalue and attribue. try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(strXMLSrc); } catch (Exception ex) { MessageBox.Show(ex.Message); } Please help. Samy -- modified at 8:33 Wednesday 11th January, 2006
-
Unable to Load XMLHi, I am new to XML and C#. I want to load this XML via the below code to an XmlDocument but it returns an Error which I don't know how to handle it. Here is the XML: Command completed successfully Epp1464 CrtContact0031 CrtContact0031-OLNIC-SRV 979170f7c148e945e352c7d155da8ac2 And here is my code. Actually I need also to know how to get the and node bvalue and attribue. try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(strXMLSrc); } catch (Exception ex) { MessageBox.Show(ex.Message); } Please help. Samy -- modified at 8:35 Wednesday 11th January, 2006