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:766796
More Search Options
RSS Available
Matching Posts
Re: Dropdown postback in firefox redirect to the wrong location
Ok, so it became an issue again, but this time, I found a solution. The problem is that APS.Net only specify the page in the action attribute of the form tag. This may lead to misinterpretation by some browsers. To fix the problem, I added the following line in my onload event: this .Form.Action = Request.Url.ToString(); This will ensure that the full url get written into the Action tag, which will make misinterpretation impossible.
Posted to
Web Forms
(Forum)
by
hannodb
on 11/23/2009
Re: Dropdown postback in firefox redirect to the wrong location
Hi guys. This is no longer an issue for me, as another task asked me to open this report in a seperate window. Since the report no longer opens in an iFrame, this is no longer an issue for me. However, I'm not marking this post as Answered, as I'm certain someone else will have a similar problem, and might get help here.
Posted to
Web Forms
(Forum)
by
hannodb
on 11/14/2009
Dropdown postback in firefox redirect to the wrong location
Ok, this is occifially freaky. I have a page on /admin/doesnotreallymatter.aspx. On this page, I have an Iframe, which opens a page in /siteresources/reports/report.aspx On the report page, I have a dropdown, that triggers a postback in order to populate a second dropdown. Pretty standard stuff. This works fine in IE, however, when I try to select something from the first dropdown in FF, I get a 404 error stating that the file admin/report.aspx does not exist. WTF??? I've been able to recreate
Posted to
Web Forms
(Forum)
by
hannodb
on 11/12/2009
Re: How to fire javascript after the validators fired.
Thanks, but I went with this solution: http://forums.asp.net/p/1489707/3497814.aspx#3497814
Posted to
Web Forms
(Forum)
by
hannodb
on 11/9/2009
Fire a single validator from javascript
Hi. Please don't ask me why I need to do this. We're using validators on a very weird way, and it was not my choice. Basically, what it comes down to, is I need to be able to fire a single validator from javascript, and if the validator fails, I need to get it's message. I thought this will be easy, just a simple var valid = Validator.execute() or something like that. Turns out that it's going to be a lot more complicated than that. If any has any ideas how to do this, please let
Posted to
Client Side Web Development
(Forum)
by
hannodb
on 11/6/2009
How to fire javascript after the validators fired.
Hi. I have an odd request that, after all the extra validation we added on our registration page, users still "don't know" which field is not correct. Basically, we need to do something like marking the fields that are still incorrect. The snag is, our validators is in span tags with other text that's marked display="none". This is because we have this "really cool" third party control that pops up and validate the field for you as you type. So, basically, I
Posted to
Web Forms
(Forum)
by
hannodb
on 11/6/2009
Re: Fire a single validator from javascript
Ok, I finally found my little golden nugget. Hopefully someone will find this helpful: function addHelptext(source, arguments) { var validators =source.attributes["errormessage"].value.split(';'); for (var i=0;i<validators.length;i++) { var validator = document.getElementById(eval(validators[i])); //This code is gold. It took a lot of searching to find!!! if (validator.enabled != false) { if (typeof(validator.evaluationfunction) == "function") { if (!validator.evaluationfunction
Posted to
Client Side Web Development
(Forum)
by
hannodb
on 11/6/2009
Re: javascript: validator.targetcontrol vs validator.controltovalidate
Go figure. "TargetControl" is an custom attribute we've added ourselves. The correct way to get custom attributes is : object.attributes[ "attribute" ].nodeValue;
Posted to
Web Forms
(Forum)
by
hannodb
on 10/8/2009
javascript: validator.targetcontrol vs validator.controltovalidate
Hi all. I'm a bit confused on this one, as I can't seem to find a clear answer. We have a problem with our link buttons not working in Google Chrome. I've tracked the problem down to this method, which executes when a custom validator fires: function ValidateRadioButtons(validator, args) { as(); var txtValidate = document.getElementById(validator.targetcontrol); if (txtValidate.value.length == 0) { args.IsValid = false; var radio = document.getElementById(validator.focuscontrol); radio
Posted to
Web Forms
(Forum)
by
hannodb
on 10/7/2009
Re: Tab delimited file won't display correctly in Excel.
Well, seems like I'm wrong again. Although the file opened correctly in Excel, it opened as Webpage.aspx.... and it took very long to open just 3 records. After some further investigation, I realised that Excel is very picky about file formats. If you give it the wrong file extension, it really struggles to figure out how to deal with the file. A tab delimited file saved as csv won't open correctly - or if it does - take a very long time to do so. Tab delimited files must be saved as txt
Posted to
Web Forms
(Forum)
by
hannodb
on 10/2/2009
Page 1 of 9 (87 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online