|
Hi
You can make the table invisible when it loads. Set the display=none to make it hidden.
<table style="display:none" id="TblId">
Then on button click call this Javascript function
function ShowTable(){
document.getElementById("TblId").style.display = "block";
}
Happy Programming
|
|
|
|
|
Hi
Can someone tell me how to create and parse RSS in ASP.Net 2.0???
Regards
Saqib
sAqIb
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
|
Hi
RSS[^] is having various versions. It's a XML document. You can create it as like creating XML files with the tag standards used for RSS. Use XMLTextWritter to create RSS XML files. Use a dataset to read the file and show to user. You can use XSLT to format it.
Happy Programming
-- modified at 8:29 Monday 2nd July, 2007
|
|
|
|
|
Hi Friends,
I am working on a web application. I have to implement UserRegistration functionality.
In that when user clicks on the "Submit" button after filling up all the information in Registration form my code should check for if the given username exists in the database.
If it is already in the database then 3 new possible username should be displayed to the user to try with.
I have implemented up to the checking in the database and I able to get whether the given username exsists in the database.
But I need some kind of logic or algorithm using which I can create new usernames for the user and display choices to the users.
Use enters FirstName, LastName and Location in the Registration form which can be consider to generate new usernames.
I dont need the code, I just want an overall logic to create for generating usernames.
Thank you all in advance.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hi Chetan
My suggestion is you can take the other details entered by user like DOB, LastName, FirstName etc and generate a set of possible combinations. Now check these combinations exist in the DB, if not display names to the user.
Hope this helps
|
|
|
|
|
Hey Navneeth,
Thank you very much for the reply.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi this sis vishal ...... cud any1 help me from this plz...i wud like to get number of days from a given month
|
|
|
|
|
|
DateTime.DaysInMonth(2007, 7);
Tried MSDN???
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Hi Vaishu,
DateTime.DaysInMonth() will return the number of days in the month.
Hope this reply helps you.
Happy Programming!!!
|
|
|
|
|
|
hey,
try the following
DateTime.DaysInMonth(YEAR,MONTH)
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
I need to post some data from the mail message body to ASP.Net Page.
The mail contains few radio buttons and a submit button. On the click of submit button i need to post data to the ASP.Net Web page.
Ashwani
|
|
|
|
|
try this
MailMessage objEmail = new MailMessage();
objEmail.To = txtTo.Text;
objEmail.From = txtFrom.Text;
objEmail.Cc = txtCc.Text;
objEmail.Subject = "Test Email";
objEmail.Body = txtName.Text + ", " +
txtComments.Text;
objEmail.Priority = MailPriority.High;
//SmtpMail.SmtpServer = "localhost";
try{
SmtpMail.Send(objEmail);
Response.Write("Your Email has been sent sucessfully -
Thank You");
}
catch (Exception exc){
Response.Write("Send failure: " + exc.ToString());
}
|
|
|
|
|
My question is different. I know how to send email.
Actually email is send to the user. The body of the mail contains the HTML tages that forms the complete html page.
Now I want to post the information from that HTML page to ASP.Net page.
Ashwani
|
|
|
|
|
Hi
Make the action attribute of your form to your aspx page. Change method to get. And in ASPX page get these values using Request.QueryString method. But I am not sure that this will work because, usually email providers won't allow any executable scripts on the body. That will cause severe security problems. Some providers may spam this type of messages.
Tell me on what scenario you need to do like this ? Instead of doing this you can send a link where users can do the same.
Happy Programming
|
|
|
|
|
Hi,
I assigned OnTextChanged event to a TextBox using the following code:
<TD><asp:textbox id="txt4" Width="400px" Runat="server" OnTextChanged="NumericOnly(event);"></asp:textbox></TD>
But i'm receiving this error:
"Compiler Error Message: CS1513: } expected"
Could anyone please tell me why this happens?
Regards,
Blumen
|
|
|
|
|
The compiler expected a closing curly brace (}) that was not found.
Please check with the Closing Braces and run your application.
Regards,
Satips.
|
|
|
|
|
Is numericOnly your javascript function?
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
yes, its a JavaScript function:
function NumericOnly(p)
{
if(window.event.keyCode>=48 && window.event.keyCode<=57)
{
//window.event.keyCode=true;
return true;
}
else
{
window.event.keyCode=false;
return false;
}
}
But this happens for RadioButton CheckedCHange event also.
But with onKeypress of textBox there is no error
|
|
|
|
|
hai friends,
i got following error while trying to show crystal report from my web application,in web server
Server Error in '/' Application.
------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.
Please review the following URL and make sure that it is spelled correctly
do have any solution, help ?
|
|
|
|
|
Please check with the URL which you have reffered to open the Document.
Regards,
Satips.
|
|
|
|
|
hai friend,
the same is working on local machine..
after uploading, when i tries to access crystal report from my site,
it shows that error.. I think ,the following part "(or one of its dependencies) could have been removed" in error description is important.
do you have any idea about dependencies ?
can u help me ?
thanks satips...
|
|
|
|
|
Hello to every One,
i hav created a page in asp.net 1.0 where i use 17'inch monitor screen and when the same project is opened in smaller monitor the every time we have to scroll down the page.
Can anybody tell me what should i do so that different users with different monitor screen can see the page according to their monitor size.
Thank You..
|
|
|
|