I could of swore you asked a similar question somewhere else in CJ. I think it was a quick question, it which you were using asp.net framework 4.0, and you were not able to partially implement url rewriting.
There's no magic wand for url rewriting. It's difficult to implement, and requires full planning from the start, you can't just drop it in and go, for it is a combination of your asp.net code and work on behalf of server IIS 7.5 and up.
The server has to be able to pick up the rewrite, and your code has to translate it, and then your code has to create it, and pump it back out to the server. It's bi-directional in design.
I gave you some of the pieces for it, to get started, but help for full implementation requires more time than I'm willing to give here on the CJ, short of just writing a complete how-to on it.
I am trying to determine how to accomplish my requirement in an existing C# 2010 formview control. In 3 separate rows in a formview control, I have 3 different combo boxes that are not functioning right now. The user is suppose to be able to select yes or no from any of the 3 combo boxes. If the user selects yes from any of the 3 different combo boxes, a box is suppose to display so the user can enter a date that needs to be corrected. The place to enter the dates is not suppose to display until the user selects the yes from the combobox.
Right now the formview control default mode is set to edit so the user can edit the dates right away. Also There is another combo box that updates a database column with yes or no.
I know that I want to use the click event of the yes/no combo box to start the extra entry line(s) to be displayed. However can you tell me how to have these extra lines be displayed?
I have a couple of questions about using a range validator on a C#.net 2010 web application. I am validating dates that must be between 01/01/2000 and 12/31/2020. My range validation works, however a couple of issues have shown up which includes the following: 1. a user can enter a date like 07.15.2012 and the date is accepted with no error. Why do this occur? My company wants to force the user to enter a date like 07/15/2012 and not accept a date like 07.15.2012. Can you tell me how to force this edit? Do I need to use regular expressions?
2. When the user enters a wrong date, the error message shows up for like a couple of seconds and goes away. This occurs before a user hits the 'enter' button to proceed to the next web page. Can you tell me how to make this error message display longer and/or only display when the user clicks the next button?
I am sending the query results to front page (news.aspx).
Now, I have that data put in separate DIV tags, one news in one DIV tag, and my idea was to hover over one div and to expand that same DIV with one small picture and more text (small picture url and the text are all stored in the same SQL table news.)
When I hover over a div, it expands, but it shows only the picture and the text that is stored in the first row ,n the SQL table.
How do I make it, that when I hover over one DIV and get the details belonging to that row, not the first row??
I want to use update progress bar in master page. And these master page is inherited by other aspx pages. In the aspx page when any button click is occurred while loading a page this update progress bar should appear. And after loading it should make invisible. So please help me in this question.....
However, through the ASP.NET site it doesn't work. There are no errors or any output that I can see.
I was able to get around this by using the -Credential switch. But this requires me to hard code the credentials which I do not want to do.
In a C# 2010 web application, I want to add a server side regular expression value that can edit a date in the following format:
mm/dd/yyyy where mm is month, dd is day, and yyyy is year. I want the user to be required to enter the backslashes. From what I have seen on the internet, the following 2 examples would have the code that works:
Based upon the above, can you tell me the following:
1. Which method would work and why?
2. If neither method would work what would you recommend that would work?
3. From the examples above, what does [- /.] stand for? I know the dot is only one character and the / is the character that is being looked for? However what does the dash followed by a space mean? Is this the same meaning as [/]?
4. In the above examples you can see 1. Does that mean that the first digit must 1 and the second digit can be either 0 or 1 or 2?
5. When looking at the regular expressions, is there a way to tell what the pattern being matched against means? Basically is there a way to tell what the regular expression means by using a tool like the .net debugger?
The requirements from the user explicitly states that they can either use a calendar control or type in the date. So I am using a calendar control already. However they want to be able to enter the date manuallhy if they chose to.
Is there a way I can make them use a calendar control only?