hi,
thank you very much for your reply. let me explain little more details.
1. i've named my first control called "Products.ascx" which is under my desktop modules folder.
then i've created new module called "ProductsModule" and added my Products.ascx control on that module.
then i've created new page called "ProductsPage" and added my "ProductsModule" module in that page.
after that i tested my new page.its fine.
2. i followed the same steps to create my second control called "ProductDetail.ascx" and
the module name is "ProductDetailModule" and Control type is "View". and added the new page called "ProductDetailPage".
finally i tested, its just fine. But after adding ControlKey name in the "ProductDetailModule" module definition, ProductDetailPage won't display anything . if i take out that value, then no pblm it will be ok again.
and my idea is, when clicking on the Product's name listed on the page "Products" , open the detail page of corresponding product by passing ProductID to my "ProductDetailModule" module. so that i decided to set up the links using navigateUrl function on the "Products.ascx", the def is,
"Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "ProductKey", "mid=" & CStr(ModuleId) & "&id=" & ProductID & ")"
here "ProductKey" is the name of ControlKey.
and it returns the following value in the Addressbar http://localhost/myDnnSite/Products/tabid/56/ctl/ProductKey/mid/382/id/TestProductName/Default.aspx,
here tabid 56 is tabid of "Products" Page and my browser takes me into the same page ie) ProductsPage with no values on it, instead of take me into ProductDetailPage.
i hope i've explained my pblm little bit clear. and my Module Def. Settings, Page settings ,... everything are quite straight forward.
if u want any more details, pls let me know.
Thanks.