|
i'm so sorry i thing i missed explained here is the detail
i developping a sim card website so users could enter and check calls they made (call history) .
i have to send PARAMETERS (date, login username and password) to a specific url. when i'm redirecting to that url an xml file is displayed (here is URL u can check it "https://www.xfone.co.uk/mobile/CdrsView.php")
but of course i can't show this page to the user i have to retreive that data to a table.
hope that will give you a clearer idea.
sorry for the miss-understanding
regards
michael
|
|
|
|
|
Could you simply provide an xslt stylesheet with the xml page to have it render as you like?
|
|
|
|
|
the page which contain the url is sent by another system another provider i don't have any control on it simply i get a xml page which i want to retreivem the data
regards
|
|
|
|
|
OK, so you can use the code posted above to read the XML into an XMLDocument on the server side - you should be able to bind this to a grid...
|
|
|
|
|
ok, thank you for your time
|
|
|
|
|
dear surrender in the code above where could i specify the parameters value??
|
|
|
|
|
hi micheal,
in the code given refer
string str = "POST DATA";
here replace "POST DATA" with approriate parameters and their values.
Regards
surender
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
|
I use asp.net2.0. My web app is working fine in local system but in live the validators are not working. It raises some script error like ("Webform_postbackoptions is undefined"). also the page is redirected without any validations. any one pls help..
http://abhijeetsenan.blogspot.com
|
|
|
|
|
|
Checkout if you have any Custom HTTPModule that interfering with WebResource.axd handler
|
|
|
|
|
Hi
i created customed login page.
it has one label to show error message like "incorrect login".
it also has validation summary for username and password.
if user fill incorrect login name and password, the label will show "incorrect login".
if login name text box or password text box miss to fill, it will show only validation summary.
when i fill wrong data, it shows error msg.
and i ommit one textbox or both(username and password), it show both of validation summary and error msg(label).
i dont' want to show error msg if the page is not valid.
i also checked "if(page.Isvalid)".
but error msg(label )remain the same.
any suggestion pls?
i m using asp.net 2.0 and VS2005.
thanks in advance!
|
|
|
|
|
On Client side Labels are render as "SPAN" tag. So write a javascript method which set an empty string to the control on your button click
function clearControls()
{
var ctrl = document.getElementById('labelname');
if (ctrl != null)
{
ctrl.innerHTML = '';
}
}
Call the above method on button click
<asp:button id="Button2" runat="server" onclick="clearControls();" text="Button" xmlns:asp="#unknown" />
It would be great if you turn off the ViewStatate for this particular labe1.
|
|
|
|
|
thanks for your answer.
i will try.
|
|
|
|
|
So you want to only show the error message when the login is not in the database.
If they dont enter anything and click a button you want a required field validator to fire, is that correct?
Just add a required field validator to the control and that will check if the field contains a value.
|
|
|
|
|
thanks for your answer.
yes.
i alredy put required field validator.
if page is not valid, validation summary show error msg.
if page is valid and it is incorrrect login, lable will show "incorrect login".
after displaying label, it's not disappear.my problem is like that.
thanks again.
|
|
|
|
|
Hi..
now i can fix this problem.
in required field validator, enabledclientscript to false.
thanks.
|
|
|
|
|
Hi,
I m trying to hide the complete link that is send in emails to just a text say click here or anything but am not able to do it. The complete url is being displayed in the email.
Can anyone help me out.
Regards
Vijay V.
Yash Softech
|
|
|
|
|
Send your mail in HTML format and put it in an anchor tag, just like you would on a web page.
|
|
|
|
|
Dear All,
I am new to ASP.Net.
In windows application, a particular form can be called by a previous form. (eg. form2 is called from form1 - the entry point to form2 is from form1 only.)
In web application, my understanding is that form2 can be called from brower address bar by typing the address of form2.
How it can be done as in windows application.
Please forgive me, if it is a wrong site for the question.
Thanks,
Aung.
|
|
|
|
|
From one page to another, you want to use Response.Redirect, or Server.Transfer. There isn't the same concept of individual pages really being aware of each other, as in a windows application though.
|
|
|
|
|
You must use
Response.Redirect("Name of second page")
or
Server.Transfer("Name of second page")
both will do the same thing i-e from form1 moves u to form2
to read more about this Google it.
|
|
|
|
|
Thanks for the answers.
I would like to know is that
- if it is called directly from browser address bar, show an error message and redirect to previous page.
- if it is to be done at page load event, it is a correct practice.
Thanks
Aung.
|
|
|
|
|
You'll have trouble being able to tell the difference about where your page has come from in this instance. Not entirely sure what you mean by the page load...
|
|
|
|
|
Hi !
First of, you need the information from request header HTTP_Refferer, directly or wrapped in the Request object.
Here is the interesting discussion about it.
http://bytes.com/forum/thread646457.html[^]
Regards,
Gennady
|
|
|
|