PDA

View Full Version : [CLOSED] Ext.NET control not showing



marco.morreale
Apr 18, 2012, 8:11 AM
Hi eveybody, I'm a new member.

I upgraded my Visual Studio Solution from Ext.NET 1.x to Ext.NET 2.0.

I've been developing for some days, fixing my pages, everithing workiing well.

Yesterday I deployed my web application to a IIS.

All at once all the Ext.NET controls stopped showing on the page, both in deployed and dev environment.

I tried everything but wiht non result. At last I could see again my controls with the following setting in the web.config.


<extnet idMode="Explicit" initScriptMode="Inline" scriptMode="Debug" theme="Gray" />

I don't think this is very optimized and my app now is extremely slow.

Please, con you help my to find out what happened?

Thanks in advance.
Marco

P.S. I attached my "web.config" file renamed as "web.txt"

Daniil
Apr 18, 2012, 10:23 AM
Hi,

Please clarify what Ext.NET version do you use? DP1, Beta or the last sources from SVN?


initScriptMode="Inline/Linked"
should not cause any significant difference in the performance aspect.

There was a bug with

initScriptMode="Linked"
which is already fixed.


my app now is extremely slow

So, there should be some other reasons.

Please investigate the following threads regarding to optimizing an application:
http://forums.ext.net/showthread.php?13726
http://forums.ext.net/showthread.php?15699



P.S. I attached my "web.config" file renamed as "web.txt"

We prefer the required code to be posted directly here wrapped in [CODE ] tags. Generally, I don't think a full Web.config is required at this stage.

marco.morreale
Apr 18, 2012, 12:44 PM
Hi Daniil,
thank you for your answer.

I am using 2.0 Beta.

My big issue at the moment is not performance but the missing Ext.NET controls.

Can you explain why controls show again with the "Inline" option instead of "Linked"?

By the way, wich one is the best choice?

Thanks again
Marco

Daniil
Apr 18, 2012, 2:15 PM
Can you explain why controls show again with the "Inline" option instead of "Linked"?


There is just a bug in Beta which has been fixed in SVN.



By the way, wich one is the best choice?


Well, I can't see any significant difference.

"Inline" (default) means that Ext.Net onReady script will be rendered on a page as inline script.
Example

<script type="text/javascript">
/* JavaScript code */
</script>

"Linked" means that Ext.Net onReady script will be rendered on a page as linked script.

Example

<script type="text/javascript" src="/extnet/extnet-init-js/ext.axd?9483b140eaeb4f62803e46fc336c15f8"></script>