Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Wrong css resource loaded when use inherit class of some ajax control [27821]

$
0
0
Hi,

I need to custom ComboBox control, so i create a class that inherit this control. But i can't use this class because the css resource is loaded is not correct.
Seem that ajaxToolkit use GetWebResourceUrl(control.GetType() ...) that return wrong resource if control.GetType() return wrong project type.

I have work around by adding a ComboBox control to my Controls then remove it.
Do you have any idea to get correct css resource for inherit class of some ajax toolkit control

Thanks
Comments: Hi! We have encountered the same problem. In our assembly, let us call it "MyAssembly.dll" a custom MyTabContianer and a custom MyTabPanel. MyTabContainer inherit from TabContainer and MyTabPanel inherit from TabPanel. When the ToolkitResourceManager tries to load the CSS resources it try to load the name AjaxControlToolkit.Styles.Tabs.min.css from assembly MyAssembly.dll. Could you explain for me how it is possible to name the resource to "AjaxControlToolkit.Styles...." in my assembly?? //Moltas

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>