|
Hello,
I tried but it didn't work,it is showing error message "Label1 is undifined". i am writing javascript code in part of my .aspx page, i also tried in and calling onclick event of the checkbox onclick="checkState()" ,The code is as below;
function checkState()
{
var chk1 = document.getElementById(Label1);
}
Regards,
AbuBakar
|
|
|
|
|
Put label1 in double quotes.
something like this:
var chk1 = document.getElementById("Label1");
Best Regards,
Apurva Kaushal
|
|
|
|
|
apurva kaushal wrote: Put label1 in double quotes.
Slightly OT, but I tend to avoid double quotes in javascript - use a single quote, and it makes things ALOT simpler if you have to build some JS on the server side (for RegisterStartupScript etc)...I find that once in the habbit of using single quotes, it really simplifies adding escape chars etc....
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Dear all,
i want to play videos with in a .aspx file. do any body have idea how this can be achieved?
awaiting reply,
Ramesh.Kanjinghat
|
|
|
|
|
Check this :
http://www.velocityreviews.com/forums/t116810-video-in-aspx.html
|
|
|
|
|
ThanQ DIMPLE_R
Ramesh.Kanjinghat
|
|
|
|
|
HI,
i am developing a application using .net 2003 and .net framework 1.1. In
this application i want to upload(save) a word file in sql server2000, which can contain both text as well as images. so how to do it.
Praveen
|
|
|
|
|
|
HI tirtha
i implemented the code from the link suggested by you and it worked. Now i can read as well as retrieve word file from database.
Really thanks.
praveen
|
|
|
|
|
Hi! All,
I have a problem when I used session variable to keep the value of HttpPostedFile. Why i have to use session variable becuase of page sometime is postback (refresh page) then I have to declar one session variable to set the value. But the limit of session variable is can't maintain the values of object HttpPostedFile the length more than 10000 bytes. Then I have to find the another global variable to maintain the values when the page is postback.
is there somebody know this?
Thank you in advance
jibcht
|
|
|
|
|
|
I hav to display the data on grid
display is as :
col1 col2 col3 col4
sum txt in these col all r merge
1 sum data all 3 col merge
1 2 col merge
1 A
2 B
3 C
4 X=A+B+C
5 Y=A+B+C+X
in sum cases B or C or A are not in means order are A,C,X, but it display 1,3,4. i want to display it as 1,2,3. problem is that these 12345 are key col in table. how i will display according to my requirement suggest
warm regards
rakesh k sharma
|
|
|
|
|
Hi any one know how to convert Doc file to PDF in .Net
if yes pls send link as well as code snaps
Thanks Regards
Yogesh Mahajan
yogsworld
|
|
|
|
|
|
Hi all
I am trying to create a application which retrive data from database and save in excel file
And Iam using this code
--------------------------
http://support.microsoft.com/default.aspx?scid=kb;en-us;308247
---------------------------
But my problum is this is only for 1 table (1 table retrive)
If i have more than 1 table and i want to save the data in same file (1 Excel File) only
Means no. of Tables will retrive but i want to save in only one excel File
Plz can any one help it is urgent to me
Or plz tell me is there any another root to save
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
hi,
you certainly have idea about joining . You can join as many tables you want through join.so make an exact SQL query to have the results from multiple tables.
Try this--------
http://www.w3schools.com/sql/sql_join.asp[^]
Tirtha
Live life to the fullest
|
|
|
|
|
Hi
Thx For Reply
But My problum is not query....
I am putting no.tables in a array and one by one it is excuting
and saving in excel file
And i want to save in 1 excel file only
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hi.
I want a sample code for sending email and, receiving emails and showing them in my site.
Best wishes
|
|
|
|
|
here is the sample for sending mails..
for receiving canu be more clear in u r questions
--------
Imports System.Web.Mail
Dim objMail As New MailMessage
strFromMail = ' from@from.com
objMail.BodyFormat = MailFormat.Html
objMail.From = "strFromMail"
objMail.To = "mailTo"
objMail.Subject = "mailSubject"
objMail.Body = "mailbody"
Try
SmtpMail.SmtpServer = "Mail server name"
SmtpMail.Send(objMail)
Catch ex As Exception
Finally
objMail = Nothing
End Try
--------
Regards,
Jayamaruthi.A
-- modified at 2:25 Monday 3rd July, 2006
|
|
|
|
|
|
Hi
I have a page index.aspx
i want to use output cache for index.aspx?id=1 and index.aspx?id=otherthan 1 not to be cached
what should i do?
|
|
|
|
|
hi,
you have to supply the parameter (id) in the declaration section in page directive like this......
<%@OutputCache Duration="60" VaryByParam="id" %>
keep in touch.
Tirthadip
Live life to the fullest
|
|
|
|
|
Hi
Well..I developed a web application and i created a setup & deployment project.
Everything fine..
The following is my problem.
In the custom action i included a stand alone exe to install SQL DB for the web application.
I need to rollback the installation process if i throw a exception in the stand alone exe, which i am using to install DB.
Can anyone help me to solve the problem? Thanks
Regards
Bala
Best wishes
Balakrishnan
bala.in@rediffmail.com
|
|
|
|
|
Hey I'm using a 3rd party application generation tool and I don't have the option to implement a CheckBoxList in the ASP Generation UI. I can roll one by hand (which is plainly the best choice if it was a requirement). What I do have are RadioButtonLists, Textboxes, Buttons, Checkboxes. Now I can easily concatenate some stuff together but I guess I'm just wanting to see some ideas for how to implement multi-select without a CheckBoxList? Do you have any creative ideas?
"You have an arrow in your butt!" - Fiona
Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.
People who don't understand how awesome Firefox is have never used CPhog[^]CPhog. The act of using CPhog (Firefox)[^] alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog (Firefox)[^] and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)
|
|
|
|
|
Hi all
I want to put an arrylist in a session
plz can any one tell me is it posible
OR
How can i use first.aspx arraylist in second.aspx page
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
-- modified at 23:32 Saturday 1st July, 2006
|
|
|
|