Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:802785
More Search Options
RSS Available
Matching Posts
Accessing TwoLetterISOLanguageName from JavaScript?
Hi, is there any possibility to retrieve the current two-letter ISO language name from within javascript (i.e. from within an ajax behavior??). In c#.net on the server side you can write something like System.Threading.Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName...I just didn't find anything similar for the client-side. I'm not really sure if it is even possible... I need this because I have to pass the current culture name as parameter to my webservice because otherwise
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
kito
on 10/27/2008
Re: Ajax client behavior - load event
That's it! Damn, I just didn't write it the right way, I tried with Sys.Application.add_load(myDelegateFunction) and with the $addHandler(....) Thanks a lot
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
kito
on 10/23/2008
Ajax client behavior - load event
hi, I've a question: Is it possible to somehow hook a "load" event on a ajax client behavior?? My intention is the following. Currently there is an initialize and dispose event + the ones I've defined, i.e. 1 MyBehavior.prototype{ 2 initialize: function(){ 3 ... 4 //normally here all the events are registered through $addHandler(...) 5 }, 6 7 8 dispose: function(){ 9 ... 10 } 11 } Is there a way now to have also the "load" event which reacts on the pageLoad? The thing
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
kito
on 10/22/2008
Re: Visual Studio Designer problems
Hmm..ok. The code inside the code-behind class is just for displaying purposes, my common code resides in the business layer of my application. What I want to do is basically just to have two pages which have the same (let's call it) "page logic" represented by the common code-behind class, but a different presentation in terms of the layout or style. I find that fact that this isn't supported by VS a bit limiting since I could imagine more such scenarios where it would be desirable
Posted to
Visual Studio 2008
(Forum)
by
kito
on 8/2/2008
Visual Studio Designer problems
Hi, I'm currently working on a project programming in ASP.net with C#. Now we are in the process of internationalizing our application, actually we only need to support 2 languages. What we did is to put general messages in resource files which works perfectly. Regarding the web pages we've chosen an approach of having one aspx (or ascx) code per language with the same codebehind class. So we have a structure like: MyUserControl_it.ascx MyUserControl_de.ascx MyUserControl_de.ascx.cs MyUserControl_de
Posted to
Visual Studio 2008
(Forum)
by
kito
on 8/1/2008
Re: Problem: The type 'typename' exists in both 'dll-name-1' and 'dll-name-2'
The problem is solved!! I'm posting the URL to my blog since I've already written a post there: http://blog.js-development.com/2008/06/type-x-exists-in-both.html
Posted to
VS 2005 Web Application Projects
(Forum)
by
kito
on 6/18/2008
Re: Drop-down lists inside UpdatePanel loose their values after PostBack
I found a solution / explanation. Call it as you want http://blog.js-development.com/2008/06/viewstate-hell-controls-loosing-their.html
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
kito
on 6/13/2008
Re: Drop-down lists inside UpdatePanel loose their values after PostBack
Yes, I've tried this, but it would anyway not work because after a PostBack the LoadCombos() method wouldn't even be called. Thanks for your response.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
kito
on 6/10/2008
Drop-down lists inside UpdatePanel loose their values after PostBack
Hi, my problem is the following: I have a page with some drop-down lists. Now some of them are inside an UpdatePanel, since they have to react to changes of some other controls in the page. I usually fill all of my drop-down lists in the OnInit(...) part of my page/user-control having something like protected override void OnInit(EventArgs e) { base .OnInit(e); if (!IsPostBack) { LoadCombos(); } } Everything works fine so far, but if I'm having now a "complete" postback (not a "partial"
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
kito
on 6/10/2008
Re: Problem: The type 'typename' exists in both 'dll-name-1' and 'dll-name-2'
Hi, thanks for the link and the information. I've already checked before that there is no multiple page or user control in the same namespace or with the same class because that was also what I expected to be the problem. There isn't however any such problem. I already used the "Reflector" from Lutz Roeder and there are actually two dll's of the same type, so the compiler error is ok. My main problem is that there is no clear scheme when the error pops up. Often I work a whole
Posted to
VS 2005 Web Application Projects
(Forum)
by
kito
on 5/27/2008
Page 1 of 2 (12 items) 1
2
Next >
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online