You could also just strip out the chr(13)from your string when are retrieving the data from the textbox
dim tempstring as string = textbox.text.replace(chr(13),"")
or something like that as i haven't tested it out yet.
To go where no programmer has gone before.
Thank you for your response.
I have tried the %20 and I still get the same error.
DO you have any other suggestions?
Thanks
To go where no programmer has gone before.
I have a simple JavaScript that is causing me headaches.
Here is the code
<script language="javascript" type="text/javascript">
function RunProg(CommandLine)
{
var ws = new ActiveXObject("WScript.Shell");
ws.run(CommandLine,1,false);
return;
}...
that would be my choice, or for more sophistication you could use an ajax calander control with an ajax extender.
To go where no programmer has gone before.
When you run the webpage does it render correctly?
If it does then you are seeing what I consider a small design flaw within the visual studio environment. it is just a visual effect of the designer. You can force it to layout correctly using tables (I do) but you don't have too if you don't...
Since you are loading the data onto your server for reporting then you can normalize the data any way you wish. So using the office objects or xml xls reader or whatever you choose from that point is up to you. The end user will not know what you have used to read and manipulate thier data...
You could export your file to csv that way when the user opens it it comes in excel, then you can just use a streamreader to input the data.
To go where no programmer has gone before.
1) give the user a browse box to find the file
2) use the Office objects and open it as a file then you can go to sheet(0) or what ever.
3) wont matter with the office objects too much 2007 introduces a few quirks but that will have to be handled as they appear.
To go where no programmer has...
You have to copy the changed aspx pages and the bin directory after you have built the website, if your using VS 2005.
I usually copy my app_code directory as well as that is where I put my class code.
To go where no programmer has gone before.
you could also put it into a update panel so that everything doesn't get posted back and do your calculation as normal.
To go where no programmer has gone before.
I have another issue now. If i have controls in the panels that need to validate what is in the current panel, when I press the button to say submit the form I am thrown the errors again when they are pressed.
This only seems to be with the validators that I am doing on extended textboxes...
thank you that simple change has fixed the issue for all the validator types.
This is more of an annoyance than anything.
Thank you again.
To go where no programmer has gone before.
You are correct the first one I used was the extender in the ajax control toolkit from asp.net. I diabled this one.
Then I used a standard Compare validator and got the same behavior.
To go where no programmer has gone before.
I have found an odd behavior from Validators and maskededitvalidators.
what I startted with is views and one view in particular had validators on it to test ffor dates within a text box and empty is valid.
However as I switched views I was getting the message error on page. I started with the...
I would like to get some feedback about using masterpages on my website.
One thing I have noticed is that it takes a lot longer to build the website with the masterpage design in one of my projects.
Questions I have is:
Should I change all my projects to use master pages?
Will masterpages slow...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.