Total members 11892 |It is currently Sat Sep 21, 2024 3:09 pm 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     -  
 Create a Custom Log in java     -  
 custom cursor in javascript     -  
 load class to applet- load frame class to applet     -  
 Create Custom Brushes in Photoshop     -  
 Create Custom Filters For JFileChooser!!!!     -  
 Image Custom Filter In Java     -  
 Dynamically Create Image     -  
 Add new row dynamically to table using JQuery     -  
 Calling Functions Dynamically     -  



cron





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