|
How to identify a particular Web site is not active ?
can i get any C# sample code for this ?
|
|
|
|
|
Don't cross post. People are busy and will answer if and when.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
How can Interchange the Arabic Language to English by check boxes for a Arabic web project?
Immediately reply me.
|
|
|
|
|
Naseem Alam Ansari wrote: Immediately reply me.
Dude, you cant push others to reply on your question! First try to fix by yourself and wait if someone in this forum will give you any help.
You didn't notice in your question your attempt which you had made to fix your problem.
I Love T-SQL
"VB.NET is developed with C#.NET"
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
We are not your servants.
Ask your question, but do so in a civil manner.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi
I am using Visual Web Developer 2010 Express (with C# as code-behind) to develop a website.
I have created a custom MembershipProvider and I have specified that in the web.config that requiresUniqueEmail="true" .
In the CreateUser() method I check whether the email that the new user has entered is unique and the code works. How do I then display a message to the user in the CreateUserWizard if the email he has entered is not unique?
I thought I could reference the CreateUserWizard in the CreateUser() method, but the following does not work:
Label labelDuplicateEmail = (Label)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("LabelDuplicateEmail");
labelDuplicateEmail.Text = "Email already exists in the database.";
All help will be appreciated.
Kobus
|
|
|
|
|
Hi
I have managed to figure it out. I am using the CreateUserError event of the CreateUserWizard .
protected void RegisterUser_CreateUserError(object sender, CreateUserErrorEventArgs e)
{
Label labelDuplicateEmail = (Label)RegisterUser.CreateUserStep.ContentTemplateContainer.FindControl("LabelDuplicateEmail");
labelDuplicateEmail.Text = string.Empty;
if (e.CreateUserError == System.Web.Security.MembershipCreateStatus.DuplicateEmail)
{
labelDuplicateEmail.Text = "Email address already exists in the database.";
}
}
Kobus
|
|
|
|
|
how to remove title in showmodeldialog '--webPagedialog'
|
|
|
|
|
A 'hacky' way is to add a large number of after your own title to push that off the right edge of the title bar.
Alternatively have a look at this: Ajax Control Toolkit ModalPopup[^]
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
modified on Monday, July 25, 2011 7:24 AM
|
|
|
|
|
Hi
i need to allocate students to the exam hall,These are the rules for placing an exam to a room:
1. If total of students is bigger than the biggest room capability, then the class will be split. (ex. if the total of students is 120, but the biggest capacity of room is 40, then the exam will be split into three rooms)
2. One room can handle two (maximum, cant more than 2 exams) exams at the same time and day.
I am going to minimize the use of room and day. So the exam will be held densely (lets say, if the timetable made by human will product a timetable for 12 days, i want to minimize it to 10 days.. or 9 days
can you give me what logic i should start with.
thanks
|
|
|
|
|
Ok, and now you want logic for query or to design your web application?
I Love T-SQL
"VB.NET is developed with C#.NET"
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
Hi
Logic for design
thanks
|
|
|
|
|
sathimailin1 wrote: can you give me what logic i should start with.
You have specified the logic in your question, just write down how you would calculate how many rooms you need, how many exams you can run per day, etc.
The best things in life are not things.
|
|
|
|
|
if this is a "real" problem, then you should also consider that all students taking the "history exam" need to be scheduled on the same day. Otherwise the students who take the exam on day 1 will tell the students on day 2 about the exam.
This sounds too much like a homework assignment, so your not going to get specific help in doing your homework.
|
|
|
|
|
guys... i have a website (asp.net + web service) and a desktop app (c#) that are related but not so related as to have them both in the same solution
thing is i need to have a set of common classes that are used mainly for the web service ... stuff that gets shuttled bck and forth basically
what is the "proper" way to share said classes between 2 projects?
thnx
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
I normally include the other project as an additional project in both solutions. Make sure that you add them into your application as a project reference and the up to date version gets copied in locally when you build.
We also use a CI process so that changes for one application would get picked up and built in to the other application.
|
|
|
|
|
thnx pete
not sure i understand tho when you say: "include the other project as an additional project in both solutions"
there are only 2 "solutions" ... the website and the desktop app
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
|
thnx for the link but no... doesn't help at all
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
|
Move the common classes into a third class library project and then reference that in both current projects.
|
|
|
|
|
ahhhhhhhh light in my darkness
i knew that would be the method but the actual way to do it in VS eluded me
thank you
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
Sorry I didn't get a chance to get back to you. I'm just back in - this was the solution that I would have pointed you towards.
|
|
|
|
|
Some people understands in simple words.
|
|
|
|
|
I am writing a search mechanism in asp.net. User enters the keywords, from the result string, i look for the index of keyword entered by user and showing results onwards. I want my code to look for space character such that i users enters 'ruth' my code gets the index of ruth and showing results. i want it to look for space before keyword so that complete word can be showed e.g 'truth'.
Thanks in Advance
|
|
|
|