----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: rags_rao Message 2 in Discussion send the code for DISPLAYVIEWPAGE() maybe u will have to use escape() function.............. Regards, Raghunandan R, Software Engineer, Nous Infosystems, #1,1st main,1st block,kormangala,bangalore - 560034. ph: +91-80-553 4208/552 2086 -----Original Message----- From: s_hashim [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 6:09 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Dynamic link building in ASP.NET New Message on BDOTNET Dynamic link building in ASP.NET Reply Reply to Sender Recommend Message 1 in Discussion From: s_hashim Hello Friends i am building an link in grid(3rd party control) using strFileNameLatest = "<a style='FONT-WEIGHT:bold;COLOR=BLUE;' href='#' onclick = DISPLAYVIEWPAGE(" & GetAttach.Tables(0).Rows(intCount)("SEQ_NO") & ",'" & GetAttach.Tables(0).Rows(intCount)("ATTACHMNT_FILE_NAME") & "'," & GetAttach.Tables(0).Rows(intCount)("VENDOR_ID") & "," & GetAttach.Tables(0).Rows(intCount)("VENDOR_SUFFIX") & ",'YES');> " & strFileName & "</a>" when the file name in DISPLAYVIEWPAGE(2 nd parameter is filename which i am using further) is not having any spaces then i am able to view thye file but where as if the file name has spaces then i am not able to view at that time dynamic link will be like the below not working link <A STYLE='FONT-WEIGHT:BOLD;COLOR=BLUE;' HREF='#' ONCLICK = DISPLAYVIEWPAGE(10,'STYLE SHEET FOR GO T.DOC',10375,100,'YES');> STYLE SHEET FOR GO T.DOC</A> if i rename the same file without any spaces and use i am able to view at that time dynamic link will be like the below working <A STYLE='FONT-WEIGHT:BOLD;COLOR=BLUE;' HREF='#' ONCLICK = DISPLAYVIEWPAGE(16,'STYLESHEETFOR.DOC',10375,100,'YES');> STYLESHEETFOR.DOC</A> Please let me know in this regards Keep Smiling, Regards. Sayad Hashim Ali Kazi SQL Star International Ltd. SQL House, #13,Infocity,Madhapur, Hyderabad 500033. +91-40-2310 1625(Off) +91-40-5536 5573(Res) e-mail: [EMAIL PROTECTED] website: www.sqlstarintl.com View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
