help.net
<font size="2"><br />Musing on .Net</font>
-
Datalist EditItem ListBox issues
In the CMS project I am actually building, I have a Datalist with some CRUD manage inline.
I use an EditItem template, and some controls. One of the control is a Listbox.
Sadly, I was not able from my code to read correctly the values of the ListBox on a DataList Update event.
I casted the Listbox like that:
Dim MyList as Listbox=ctype(MyDatalist.Controls.item(e.Item.ItemIndex).FindControl("MyListBox"), ListBox)
Nothing works.
The only way I found is to come back to an 'old' classic Request.Form like that:
Dim MyList as string = Request.Form(6)
Why 6 ? Because it's the actual index in my controls list.
I know, you can say why not using Request.Form("MyListBox") -
(In) Visibility
Scenario: A Datalist (or Datagrid), an EditItemTemplate, some textboxes control.
Imagine you want to have an hidden Textbox control now.
Don't use visible=false, if you want to get the text from the control
Instead do something like: -
Extreme Geek
I knew it ;-)
I got 58.38264% - Extreme Geek
Thank Sudhakar for the test -
Ten lies about Microprocessors
-
Cool window
You remember Minority report, where Tom Cruise mainpulate images on a kind of transparent windows.
Well it's there already ! Cool ! I want one -
I want this job ;-)
Red Wolf writes
-
CMS -type of content
In dScribe project, I will have three type of manageable content:
- Dynamic content: quite easy, coming straight from the database into different placeholders. -
Grid Supercomputing: The Next Push
Great article on the next big thing since the WWW --> Grid computing -
An Informal Tool For Early Stage Web Site and UI Design
Berkley’s UI research group has released a very interesting application called DENIM that replicates the workflow of whiteboard/paper prototyping using Tablet PC. In addition of implementing a truly useful workflow DENIM is a great example of simple and direct user interface. The application uses gestures to perform many editing commands. -
Science Unleashed