[1.0] MVC Help
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[1.0] MVC Help
Subscribe
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/8/2010 9:45:43 AM

Group: Coolite Premium Member & Early Adopter
Hello vladsch,

I was wondering how one might do the following:

Example.aspx:


<% for (int i = 0; 10 > i; i++) %>
<% { %>
    <ext:TextField runat="server" Name="<%# i %>" />
<% } %>


I keep receiving the following exception:


The name 'i' does not exist in the current context


Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 3/8/2010 10:16:54 PM

Group: Core Development Team
Hi Timothy,

Thanks for pointing out this issue. There is a problem and we are working on a fix.


--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/9/2010 4:08:46 AM

Group: Coolite Premium Member & Early Adopter
Thanks geoffrey! This one is a major annoyance to me

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/11/2010 10:44:05 AM

Group: Coolite Premium Member & Early Adopter
Any update on this one?

Cheers


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 3/11/2010 11:01:05 AM

Group: Core Development Team
This is not going to be an easy one to fix. We have to make some complicated changes to the control-lifecycle. We've been discussing the change for a while, although it hasn't been a high priority until now. 

Unfortunately I don't think the revision can start until after the v1.0 release.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/11/2010 11:08:15 AM

Group: Coolite Premium Member & Early Adopter
Sad


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/12/2010 4:09:50 AM

Group: Coolite Premium Member & Early Adopter
Any other suggestions on how I can do what I need in my original post? I'm stuck

Cheers


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/12/2010 4:23:17 AM

Group: Core Development Team
Hi,

Unfortunatelly, at this moment Ext.Net controls don't support <% ... %> syntax (Ext.Net controls cannot be created inside that inset)

I can recommend to use codebehind to build those TextFields. For example, you can place Placeholder control to the page (where it is required) and in the Page_Load creates TexFields and put to the Placeholder

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:44pm