Thanks for your reply.
Actually, I am creating a site where user can post message or reply to it just like code project.
I want to display the messages in just Code Project's message board like tree view structure.
If you help me I will be grateful.
As you can see the DropDownContentsTemplate is just a placeholder for adding controls. And I've added a CheckBoxList control. The OnSelectedIndexChanged is set a an event in the code-behind and AutoPostBack is set to true, so that it'll postback when the user selects a checkbox. However the event doesn't fire for some reason. I'm assuming there's something special that I need to do with the template. Could someone please tell me what I am missing in order to fire the OnSelectedIndexChanged event.
Take browser and type http://localhost and it should open the default website or IIS welcome page. If it appears, your IIS is running. BTW, why are you creating project on IIS other than using the inbuilt ASP.NET development server? For using it, choose the file system type project.
your IIS is not running.... if you are still on developing phase, try to run ur web project in Visual Studio IDE, i'm sure it will create a virtual IIS.... somthing like "http://localhost:1234/default.aspx"....
In my aspx form, I have an HTML table which contains rows and columns (tr and td). In one of the row, I have one label control and one text box and in another row I have another label control and a drop-downlist containing data.
My requirement is, on runtime, I need to make these rows visible and hidden based upon some conditons. I know that by giving an id to the row it can be achieved. But how it should be coded in codebehind? Any idea on this? Or is there any other better way of doing this? Can anybody please provide any help on this?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
i want to disable caching of my web page on the client side.
For this, i am adding a cache-control:no-store header to the out going response in my asp.net page.
It is working fine in IE but with a limitation in Firefox.
what i learnt is Firefox is maintaining 3 caches.
when i sent no-store value in cache control header,i observed following things when i open the page.
1.i typed about:cache command in a new tab to see all the caches.
2.page is not added to disk cache and offline cache
3.page is added to memory cache
4.when i close the browser window,memory cache entry is now removed.
*what i need is..is there any workaround so that my page is not added to all 3 caches of firefox.
actually we can do it manually by configuring the browser but i think we cannot do this ourselves on all the client browsers who are accessing our page. and also we cannot instruct the user to close the window after he finished browsing our page.
You post a constant stream of questions that leave me feeling you are totally untrained and have absolutely no idea what you're doing. I also get the feeling you've never invested in a book, a class or even bothered to try to use google. Why are you persisting with this if you're not willing to apply yourself ?
This is so trivial. DateTime.Now tells you the year today. So, add years to your drop down from today back to what ever hard coded starting year you like, or a specific number of years if you prefer.
Do it now. You'll see that CP does exactly what I was talking about. It redirects to the login page and passes to the login page, the page to go back to, on the URL. So, once you login, it reads that value and navigates back to that page.
Need help again. About adding textbox value in gridview footer template, would it be possible? How will i do that? Note: The textbox value is come from the maxid of sql query. When the gridview page will load, it should have initial value one of the textbox.
Hi....I have two drop-down List boxes.How to update one drop-down list box based on values of other drop-down list..
E.g: Drop-down list 1 contains cars like Toyota,Hyundai etc...
If Toyota is Selected
(drop-down list 2 it must be updated with models of Toyota)
else Hyundai is selected
(drop-down list 2 must be updated with models of Hyundai)
All these data must be taken from SQL server
I am able to display the drop-down list 1 but i am not sure how to display only corresponding models of the selected Make(drop-down list1)
Yeah, the solution would be to automatically send an email when the order is placed. Might want to do that somewhere around your insert statement in your code, since that's probably where the order is complete in your end.
It is difficult and complicated to setup SQL database triggers to send email when the database is updated. You would also have to run a local SMTP server on the SQL server which is often discouraged. The best thing to do would have your code update the SQL database, check to see if it was successful, and then use the SmtpMail class to send mail-
is this query correct?
"INSERT INTO Create(names,city,state,email,username,pword,securityq,answer) VALUES('" + name + "','" + city + "','" + state + "','" + email + "','" + user + "','" + pswd + "','" + question + "','" + ans + "')";
error is Incorrect syntax near the keyword 'Create'
I am working on asp.net. I want to add the drag and drop functionality on the controls. I managed to draw the controls but could any one tell how I can add drag drop functionality in it. I tried using Microsoft.Web.Preview but it creates a havoc ..is there any other way? Any kind of help or e article/example web link will be good support .