Duncanma said:As a forum poster, you don't have drafts... but people posting videos/blog entries do... and in C9v4 they are all the same entity so the services reflect that...
Any more info on c9v4?
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Duncanma said:As a forum poster, you don't have drafts... but people posting videos/blog entries do... and in C9v4 they are all the same entity so the services reflect that...
Any more info on c9v4?
I have a Textbox is in the within the formview control I need it to accept just the year, i.e 1976. The textbox is databound if it's not entered as 01/01/2001 then it doesn't update or insert. How can I programmtically preappend the 01/01?
Any suggestions?
W3bbo said:Kryptos said:*snip*You can't have a true WinForms-style ComboBox in WebForms simply because there isn't any HTML equivalent. As you've noticed the closest you can get are client-side scripts, which of course will fail if client scripting is disabled.
In your situation I'd just put together a <select /> with all the predefined options but add an "Other, please specify" option. The <select /> would then have an <input type="text" /> underneath it with a <label> reading "Other:".
It's usable and proven and can't go wrong. Don't forget to add <asp:RequiredFieldValidator /> to the Other field.
Thanks for the reply.... I thought that this may be the case...
Only wish I was told that this was requirement as I have 20 plus forms to go and change now. ![]()
ANy suggestions for handling the back button? So another record doesn't get insert....
W3bbo said:Kryptos said:*snip*I take it with is WebForms as opposed to WinForms or WPF?
It is indeed, webforms supports what I need, I what the same in webforms.
spivonious said:In a DropDownList the user cannot enter their own values.
That is corredt which is why I've looked at the AJAX Combo Box ontrol which works for data entry but not for editing... I was after a control suggestions or a suggested method of using one of the standard controls.
I want to see like a beginners course in development. Talking about when to use linq or when to use the entity framework, MCV 2 why? When to use a technology and when not to use technology. For the lone hobbyist developer who is self-taught but has many many questions and gaps in their knowledge.
I want an drop down list bo on a form which a user can either select th values presented to them or enter there own.
So for an example a how many? drop down displays 1-10 but the user can enter 12. I want the users reply databound but not the collection?
Any suggests?
figuerres said:Kryptos said:*snip*what event are you wantimg to fire?
are you looking for a server side asp.net event of a client side javascript one?
formview can be tricky for some things.
this is bound to a bool in what? is the form bound to a database ?
asp.net event, server side.
Yes the form is bound to a database.
vesuvius said:Kryptos said:*snip*can you post a code sample, there are loads of web experts here on channel 9?
I could.
But all I'm doing is dragging on a formview control and connecting directly to SQL Server.
When you run the form, in insert mode. When a checkbox is checked, I want to run code, this what I can't get working.
Thanks for helping.
EDIT: typo's.
still can't get it working.... ![]()