-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Vishal
Message 1 in Discussion

Hi Guys     Just see the following javascript, i call it on clicking an image and so 
in new modal dialog i opens a new aspx page. Now i have to pass the parameter, as i am 
passing.   But when i access in behind the code i just get the follwing Url   
http://localhost/HMS/LOV/Stores/GenericNameMaster/LOVGenericNameMaster.aspx?value=";   
From where this value='' comes and why i am not getting my param1 part.   Now if 
change the strUrl to   strUrl = 
'../../../LOV/LOVContainer/LOVContainer.aspx?displaypage=../Stores/GenericNameMaster/LOVGenericNameMaster.aspx?param1='+
 strMajorCd;   the Url becomes     
http://localhost/HMS/LOV/Stores/GenericNameMaster/LOVGenericNameMaster.aspx?param1=T004?value=";
   From where the value is coming.   Pls help me   <Vishal/>          function 
OpenGeneric()  {  var strUrl;  var strFeatures;  var strMajorCd ;  strMajorCd = 
document.all("Base_pgContent_txtMajorCd").value; strUrl = 
'../../../LOV/LOVContainer/LOVContainer.aspx?displaypage=../Stores/GenericNameMaster/LOVGenericNameMaster.aspx&param1='+
 strMajorCd; strFeatures = 'dialogHeight: 400px; dialogWidth: 400px; edge:Raised; 
center:Yes; help: No; resizable: No; status: No'; 
window.showModalDialog(strUrl,BaseVariables,strFeatures) if(BaseVariables.strCode) {   
        document.all("Base_pgContent_txtGenericCd").value = BaseVariables.strCode;     
     document.all("Base_pgContent_txtGenericName").value = 
BaseVariables.strDescription; } BaseVariables.strCode='' 
BaseVariables.strDescription=''  } 

-----------------------------------------------------------

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]

Reply via email to