|
Navigate thorugh the DataTable records and Build a resultant DataTable with the records based on the condition.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
|
This is ASP.NET discussion board...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Please - no cross posting.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi, I have a html image in one page like this
GetInfo() is javascript function.
How i can get image's Location in javascript function? (Compatible with Firefox)
thanks.
|
|
|
|
|
I found my solution :
function GetInfo(img)
{
SRC=img.src
HEIGHT=img.offsetHeight;
WIDTH=img.offsetWidth;
TopLocation=img.offsetTop;
LeftLocation=img.offsetLeft;
}
|
|
|
|
|
Hello Everybody
I'm sending the mail i'm receiving blank text or nothing or sometimes i got error ...................
I'm putting my code here plz have a look and suggest me the problem exists in my code
I've already taken following controls.......given below
hidden Field= txtID
IFRAME = manojTextBox
-----------------------------------------------------------
Page_Load
if(!Page.IsPostBack)
{
cmdClick.Attributes.Add("onClick","document.Form1.txtID.value=manojTextBox.document.body.innerHTML");
}
-----------------------------------------------------------
Click Event
MailMessage mail1=new MailMessage();
mail1.To="mail@saamstesting.com";
mail1.From="manoj.manojbisht@gmail.com";
mail1.Subject="This is New Mail -2";
mail1.Priority=MailPriority.High;
mail1.BodyFormat=MailFormat.Html;
mail1.Body=Request.Form["txtID"];
try
{
SmtpMail.SmtpServer="mail.saamstesting.com";
SmtpMail.Send(mail1);
lblMsg.Text="Mail Sent Successfully";
lblMsg.ForeColor=Color.DarkBlue;
}
catch(Exception ex)
{
lblMsg.Text=ex.Message.ToString();
lblMsg.ForeColor=Color.Red;
}
|
|
|
|
|
The Knowledge wrote: cmdClick.Attributes.Add("onClick","document.Form1.txtID.value=manojTextBox.document.body.innerHTML");
try something like this instead
var iFrame= document.getElementById("IFrame1");<br />
document.getElementById("txtID").value = iFrame.document.innerHTML;
and have a look at the below link
How to send SMTP mail in ASP.NET using C# technology[^]
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello
I am a beginner and I really need hlp
The problem is that :-
I want to display the Button id of the button which has been clicked on a new page on being clicked and the text also i mean buton.text.
Mrinal
|
|
|
|
|
Do you mean that you want to pass the button ID and TEXT to the new page on the click of a Button? If yes...
On the button click event use Reponse.Redirect to call the new page. Along wi the page URL you can pass the button ID and TEXT as query string values.
something like this...
Response.Redirect("NewPage.aspx?btnId=" + btn.ID + "&btntext=" + btn.Text, False)
and In the New page you can retrieve the values using Request object.
Request.QueryString("btnId")<br />
Request.QueryString("btntext")
the above statement will give you the vaues that you passed from the actual page.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Thanks..
I have 4 buttons on my page .It worked for the first button but didn't work for the rest others ..
Mrinal
|
|
|
|
|
can we define the table and div property in the skin file in asp.net
please help me.
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Piyush Vardhan Singh wrote: can we define the table and div property in the skin file in asp.net
Skins: Allow you to define individual HTML Elements and Web control styles.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
thanks for reply.
First time i have using skin file.i want to use many ui for single page. please if u have any example or link then please give me.
thanks
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
|
Hi All,
I need to Implement Remember Me functionality using ASP.NET 2.0. When I enter user name and password for the first time then windows ask me that whether u want to save this passowrd or not, but I dont want it in this way.
When check the checkbox of Remember Me on this Computer then it should be saved and next time when i press first letter of login name then it should display the list of all names starting with that first letter. When I select the user name it should automatically displays the password and when I clicked on login button tis should all the FormsAuthentication and redirect to valid page.
Please help me...
|
|
|
|
|
Use cookies to manage
I Love SQL
|
|
|
|
|
Thanks for replying.
I did that but Im not getting how to display list of user names visited the site from my machine or say how will I get the list of user names in the User name textbox??
Please help me...
|
|
|
|
|
You have to store the UserName in Cookie and when the request occure then you have to check the cookie for UserName is Exists then assign to textbox
Best Regards,
Chetan Patel
|
|
|
|
|
Thanks Chetan, it will be very greatful if u help me with some code also.
Thanks again.
|
|
|
|
|
this is the code i am using
BloodUnit.Number when i give enter in textbox the page getting posted
i dont know y this is happening ?
Any one Give me a Solution....
sathimailin
|
|
|
|
|
The code lines you have given is ok there is no problem in it can you give me whole code between tag
Best Regards,
Chetan Patel
|
|
|
|
|
Thanks for taking this issue.
sathimailin
sathimailin
|
|
|
|
|
Hi friends..
Can anyone give me the code to generate random numbers in javascript..?
Pls do the help at the earliest..
Thanks & Regards,
Balaguru
|
|
|
|
|
check the Math.random() funtion
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|