Hey Guys,
Happiness Sale started at Central. LifeStyle and Pantaloons Stores......
Upto 50% off...... So Hurry Up
Tuesday, July 31, 2007
Monday, July 30, 2007
RadioButton Bug in DataList and Repeater Controls
Hey Guys,
Found an interesting bug while working with DataList and Repeater Controls or in controls where templates are created dynamically in VS 2005......RadioButtons are Not Mutually Exclusive when used in these Controls.....that means it allows us to check all radiobuttons even with a same group Name....Try it out and check.....The link at the end provides the bug description from microsoft and after some good night's search found a solution for this bug.....so thought of posting that solution here.......
Just need to create one JavaScript function...
function SetUniqueRadioButton(nameregex, current)
{
re = new RegExp(nameregex);
for(i = 0; i < document.forms[0].elements.length; i++)
{
elm = document.forms[0].elements[i]
if (elm.type == 'radio')
{
if (re.test(elm.name))
{
elm.checked = false;
}
}
}
current.checked = true;
}
Found an interesting bug while working with DataList and Repeater Controls or in controls where templates are created dynamically in VS 2005......RadioButtons are Not Mutually Exclusive when used in these Controls.....that means it allows us to check all radiobuttons even with a same group Name....Try it out and check.....The link at the end provides the bug description from microsoft and after some good night's search found a solution for this bug.....so thought of posting that solution here.......
Just need to create one JavaScript function...
function SetUniqueRadioButton(nameregex, current)
{
re = new RegExp(nameregex);
for(i = 0; i < document.forms[0].elements.length; i++)
{
elm = document.forms[0].elements[i]
if (elm.type == 'radio')
{
if (re.test(elm.name))
{
elm.checked = false;
}
}
}
current.checked = true;
}
I will show you how to call this function in code..........
SetUniqueRadioButton('dgGrid.*GroupName',this)
here dgGrid is the name of the DataList or Repeater Control.........and GroupName is the
GroupName of the RadioButtons
http://support.microsoft.com/default.aspx?scid=kb;en-us;316495
ShankarDada Movie Review
After a long time woke up early to get ready for the film as the film is at 7:45
As usual according to tradition..had tea at KCKs house before going to theatre..
Even though they dont drink tea at their house, he got tea for us..so its very kind of him.
Since its a premiere show as expected the ambience was very noisy and fans in large numbers
Waiting outside to get into theatre to see their favorite hero.Its really amazing to see people
So fanatic about a heroSo crackers exploded,box arrived and doors opened.
In one line I can say about the Film It Started with a Bang and Ended with a Bang..In middle something happened.
The one problem with movie is All the ScenesAll means I mean almost every scene is directly lifted from Lage Raho..
So theres nothing new to expect in movie except Chiranjeevi.
thats y I found a drastic change in crowds response inside the theatre..
Its not as expected in a premiere show of a chirus film
most of the times they were calm which is unusualthis is expected as all the scenes are familiar for them
So they are literally waiting for Songs to come..
Coming to Chirus dances which is an integral part of his every other film.
They are neat I can sayFirst Song,Second and last song choreography is good..
Last song is toooo good..just go for Yana Gupta and also chirus introduction in that song
with a bottle on his head
All in All it will be disappointing for all those who watched the Hindi Version as the Original film
Is a terrific one..
Have a nice time guys,
As usual according to tradition..had tea at KCKs house before going to theatre..
Even though they dont drink tea at their house, he got tea for us..so its very kind of him.
Since its a premiere show as expected the ambience was very noisy and fans in large numbers
Waiting outside to get into theatre to see their favorite hero.Its really amazing to see people
So fanatic about a heroSo crackers exploded,box arrived and doors opened.
In one line I can say about the Film It Started with a Bang and Ended with a Bang..In middle something happened.
The one problem with movie is All the ScenesAll means I mean almost every scene is directly lifted from Lage Raho..
So theres nothing new to expect in movie except Chiranjeevi.
thats y I found a drastic change in crowds response inside the theatre..
Its not as expected in a premiere show of a chirus film
most of the times they were calm which is unusualthis is expected as all the scenes are familiar for them
So they are literally waiting for Songs to come..
Coming to Chirus dances which is an integral part of his every other film.
They are neat I can sayFirst Song,Second and last song choreography is good..
Last song is toooo good..just go for Yana Gupta and also chirus introduction in that song
with a bottle on his head
All in All it will be disappointing for all those who watched the Hindi Version as the Original film
Is a terrific one..
Have a nice time guys,
Hi Buddies
Hi Buddies...... Welcome to this new way of our Communication.........Hope you will find it extremely Useful and interesting.....Have a nice Day
Subscribe to:
Posts (Atom)