Friday, 15 February 2013

Set readOnly for all form fields Using the Extjs 4.1 MVC.


Hi !

I'm doing my first extj mvc app, so I can't talk about best practice...

In my app I try to Set readOnly for all form fields.

Controller function :


init: function() {
        this.control({
            '#ViewId': { click: this.onView }
        });
    },
onView: function(button) {

    button.up('form').query('.field').forEach(function(field) {
            if (field.inputEl) {
                field.inputEl.dom.setAttribute('readOnly', true);
            } else {
                field.readOnly = true;
            }
        });
    }


on Button click Event of my button is  onView, in that i am findingOut the form and inthat and all fields.
on loop through am setting the readOnly to the fields.
Instead of using Read Only use disable based on your Requirements


Note: This Only sets the Element's rearOnly DOM attribute. while Setting readOnly = true,
but in Extjs 4.1/ MVC we cant hide the triggering a combo Box or Date (Extjs 4.1.1 Release Notes).To hide the trigger use hide Trigger.




Tuesday, 12 February 2013

MUGH February UG Meet


Microsoft User Group Hyderabad  UG Meet

Microsoft User Group Hyderabad invites you to Monthly UG Meet on 23rd Feb'13

Microsoft User Group Hyderabad  UG Meet   Microsoft User Group Hyderabad invites you to Monthly UG Meet on 23rd Feb'13 Agenda: TIME TOPICS & SPEAKER 09:00 A.M - 09:30 A.M Registration 09:30 A.M - 10:30 A.M Building Gesture Enable and Speech...
Agenda:
TIME TOPICS & SPEAKER
09:00 A.M - 09:30 A.M Registration
09:30 A.M - 10:30 A.M Building Gesture Enable and Speech Recognize Application Using Kinect for Windows

Abhijit Jana, Microsoft
10:30 A.M - 10:45 A.M Break
10:45 A.M - 11:45 A.M Windows Azure Mobile Services

Pranav Ainavolu, Thomson Reuters
11:45 A.M - 12:45 P.M TBD

Krishna Chaitanya T, Security & Privacy Research Lab, Infosys
12:45 P.M - 01:00 P.M Discussion

Targeted Audience: Developers, Architects, IT Pro







Share this event on Facebook and Twitter

We hope you can make it!

Cheers,
Microsoft User Group Hyderabad 



Venue Sponser:





Tuesday, 5 February 2013

New Jump Start! Scott Hanselman & Jon Galloway Talk Modern Web Apps w/ ASP.NET! - Events - Blog - Events - Born to Learn

Microsoft Virtual Academy (MVA) has opened registration for a new Jump Start tailored for experienced developers interested in leveraging ASP.NET and Visual Studio 2012 to offer modern apps that target modern browsers.
Two of Microsoft’s most seasoned ASP.NET speakers, Scott Hanselman and Jon Galloway, will provide an accelerated introduction to building modern web applications with ASP.NET 4.5 and ASP.NET MVC 4. In this course, they will target key scenarios like building mobile ready websites, social web applications as well as modern HTML5 browser features.
** REGISTER NOW **
Help us spread the word with a blog post or a tweet like this one:
#MSJumpStart! @shanselman & @jongalloway target modern browsers w/ ASP.NET. http://aka.ms/WebAppsASP-JS @MSLearning #MSMVA

What’s a “Jump Start” Course?
Training specifically designed for experienced technologists whose jobs demand they know how to best leverage new, emerging Microsoft technologies. These advanced courses assume a certain level of expertise and domain knowledge, so they move quickly and cover topics in a fashion that enables teams to effectively map new skills to real-world situations.