|
Ali Al Omairi(Abu AlHassan) wrote: Actually, this code will be rendered as a single line.
but the exception is thrown exactly on radiobuttons.length in the first for loop
Well, I know it will render as a single line, But I asked the same.
OK, is your page using master page?
|
|
|
|
|
Yes, but there is no 'runat="srever" on the radio buttons nor the checkboxes.
Help people,so poeple can help you.
|
|
|
|
|
Hi, maybe u shud post the html where the 'MyGroup' and 'MyGroupChk' are.
Make sure that indeed those two elements have an attribute called name="MyGroup" for instance, otherwise if it's an id="MyGroup" then correct your code like so:
var radiobuttons = document.getElementsById('MyGroup');
var radiobuttons = document.getElementsById('MyGroupChk');
and again in your loop you may want to correct this:
radiobuttons[i].checkd=false;
to:
radiobuttons[i].checked=false;
In case you are using master pages, make sure that your controls still maintain the same name/id when viewed on client side (right-click -> View Source)
Good luck.
|
|
|
|
|
Sir;
thank you for correcting my ".checkd "
In the same I am going to make you a favor and correct your document.getElementsByID('SomeId') to document.getElementById('SomeId') (without s).
Actually, we use document.getElementById('SomeId') to get an element with an id of 'SomeId'.
And also document.getElementsByName('SomeName') to get an array of elements sharing the same neme of 'SomeName' such as radio buttons or checkboxes in the same group.
regards;
Help people,so poeple can help you.
|
|
|
|
|
Hi,
I want to ask what's the best way to determine the image dimentioin when I want to preview on my webpage? is it by doing that programmatically or it's better to add a fielkd in the database photo_dimention and set the dimentioon according to the value in that field?
Thanks
|
|
|
|
|
Dude, you couldn't create only one thread with one question and there to write all what you need, instead of creating one thread for each question?!
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
I prefer one thread per question. Has a few advantages. For one, when people come back later to find answers to similar questions, they aren't deluged with irrelevant information... they get a single question and its corresponding answer. Also easier to tell when the question has been answered and doesn't force a single person to answer all of the questions when they may only know the answer to one.
|
|
|
|
|
for what its not worth, I agree with you.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
There are many ways to get dimensions* of an image.
- If the image is stored in the database u can use the Bitmap class to get the dimensions.
- You can use JQuery/Javascript to get the dimensions
- If you want to resize the image before previewing it then use the Graphics + Bitmap
hope this helps
|
|
|
|
|
Hi,
I want to ask what's the best way to localize a whole website? is it by dumping the entire website under language folder? like domain.com/english and domain.com/arabic?
Thanks,
Jassim
|
|
|
|
|
|
|
when you open an external link in linkedin, it will open it in a separate browser window with linkedin header at the top and ability to close it using its close icon, how can I do this using ASP.NET?
|
|
|
|
|
you can do it using iframe with the javascript that will close the frame by generating click event on some icon or button to close frame.
|
|
|
|
|
How can I display a modal window with some contents similar to facebook when you display a photo in a popup windows with its close button?
|
|
|
|
|
use pretty-photo jquery plugin... for more information visit[^]
|
|
|
|
|
asp.net in possible
credit card balance check
Yes ?
code example me email send
|
|
|
|
|
What? are you asking for help here or what?
|
|
|
|
|
hello guys... Title says it all. Whats the difference between adding virtual directory and adding application to IIS 7 in windows 7? thnx
|
|
|
|
|
|
Hi fellows, I am looking for some tutorials and references about the Third-party web authentication. How do we implement and how does it works? I am somewhat told about the HTTPHEADER value that is used in the Third-party Web authentication. But I am not so sure what is exactly needed. Could someone please help me and provide me a link.
Thanks
|
|
|
|
|
I have started a new asp.net website, it includes a style sheet and a web form.
Every time I change something in the web from and rebuild my project it goes well, but when I do changes in the stylesheet and rebuild\view the page in my browser I just can't see any changes.
I can see the style changes only when I close the visual studio and open it again.
|
|
|
|
|
The CSS is being cached by your browser. Refresh it (F5 in IE) after a change (and save the CSS file) and you should see the changes.
|
|
|
|
|
Gentlemen;
I am working with an ajax control and i am facing a problem with Sys.Application.notifyScriptLoaded() that the line
if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
is duplicated twice in the resource file downloded on the client although it isn't in the orginal one.
on the page the control is in an update panel added dynamically within an asynchonouos post-back.
what should i do to prevent duplication, and why this happend with me.
Regards;
Help people,so poeple can help you.
|
|
|
|
|
I have an interview for an ASP.Net position in a couple of weeks. I feel comfortable writing the code, but have had troubles with interviews in the past. Can you guys give me some insight on the common interview questions? Every time I walk into one of these it ends up like a Microsoft test, you get asked questions that are pointless when it comes to writing code, but they want to know that you know them. Those are the questions I want to see.
Cheers, --EA
P.S. I already looked up ASP.Net interview questions in Google and have looked those over, looking for things you personally have experienced
|
|
|
|