Total members 11895 |It is currently Sun Dec 22, 2024 9:49 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





hello - how to dynamically load a custom user control with a param constructor??

well i got a user control
i try to call it like
Code:
string s = "my param";
asp.MyUC uc = (asp.MyUC) LoadControl(typeof(asp.MyCU),new object[1]{s});


but the param ctor never hit - its gos to the defaule one (with no params)
thanks




Author:
Newbie
User avatar Posts: 2
Have thanks: 0 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : dynamically load a custom user control with a param construc
 Add double quotes to text dynamically, on page load     -  
 custom cursor in javascript     -  
 Create a Custom Log in java     -  
 load class to applet- load frame class to applet     -  
 Image Custom Filter In Java     -  
 Create Custom Brushes in Photoshop     -  
 Create Custom Filters For JFileChooser!!!!     -  
 Dynamically Create Image     -  
 Add new row dynamically to table using JQuery     -  
 Calling Functions Dynamically     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com