Click here to Skip to main content
15,898,371 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Upload Directory of Images Pin
tadhg888-Apr-08 3:30
tadhg888-Apr-08 3:30 
General(Possibly) wierd (ajaxy) login behaviour Pin
Ed.Poore27-Mar-08 3:01
Ed.Poore27-Mar-08 3:01 
GeneralRe: (Possibly) wierd (ajaxy) login behaviour Pin
led mike27-Mar-08 5:11
led mike27-Mar-08 5:11 
GeneralRe: (Possibly) wierd (ajaxy) login behaviour Pin
Ed.Poore27-Mar-08 5:37
Ed.Poore27-Mar-08 5:37 
GeneralRe: (Possibly) wierd (ajaxy) login behaviour Pin
led mike27-Mar-08 5:49
led mike27-Mar-08 5:49 
GeneralRe: (Possibly) wierd (ajaxy) login behaviour Pin
Shog927-Mar-08 5:55
sitebuilderShog927-Mar-08 5:55 
GeneralRe: (Possibly) wierd (ajaxy) login behaviour Pin
Ed.Poore27-Mar-08 7:49
Ed.Poore27-Mar-08 7:49 
GeneralGridView with UpdatePanel - ObjectDataSource sends null values to update method Pin
pulla27-Mar-08 1:31
pulla27-Mar-08 1:31 
Hi,

I am using ASP.NET GridView to edit data. Data are provided and updated through a ObjectDataSource. Displaying my business objects works as expected.

For updating I use the update method of the ObjectDataSource. I specified the parameters, the method name, and all the needed stuff. This works fine basically.

But unfortunately the update method gets null values for those parameters which are inside of an updatepanel in the grid.

Let me show you that with this snapshot from the gridview code:

<asp:GridView ... DataSourceID="ObjDataSource" ... >
<Columns>
<asp:TemplateField HeaderText="Number">
<itemtemplate>
<asp:UpdatePanel runat="server" ID="update" UpdateMode="always" ChildrenAsTriggers="true">
<ContentTemplate>
<asp:TextBox ID="tbNumber" runat="server" Text='<%# Bind("Number") %>'></asp:TextBox>
<ajx:AutoCompleteExtender ... TargetControlID="tbNumber"></ajx:AutoCompleteExtender>
</ContentTemplate>
</asp:UpdatePanel>
</itemtemplate>
</asp:TemplateField>
... other template fields
</asp:GridView>

If the textbox is WITHIN the UpdatePanel the parameter value for "Number" is always null. If I remove the UpdatePanel I get the concrete value. What's wrong here with the UpdatePanel?

For more information, the autocomplete extender helps user for input. I use the updatepanel to refresh only this area.

My current work around is in the updating event of the ObjectDataSource. I am searching for the control, reading its value and assigning to the input parameter. But it is tediously.

br
Thomas
GeneralRe: GridView with UpdatePanel - ObjectDataSource sends null values to update method Pin
Shog927-Mar-08 5:53
sitebuilderShog927-Mar-08 5:53 
GeneralRe: GridView with UpdatePanel - ObjectDataSource sends null values to update method Pin
pulla28-Mar-08 0:49
pulla28-Mar-08 0:49 
QuestionHow to work my web pages with all browsers? Pin
KambojR26-Mar-08 22:13
KambojR26-Mar-08 22:13 
GeneralRe: How to work my web pages with all browsers? Pin
Shog927-Mar-08 5:52
sitebuilderShog927-Mar-08 5:52 
GeneralRe: How to work my web pages with all browsers? Pin
KambojR27-Mar-08 23:58
KambojR27-Mar-08 23:58 
QuestionCreating Two level domain names Pin
satishpspl26-Mar-08 20:44
satishpspl26-Mar-08 20:44 
GeneralRe: Creating Two level domain names Pin
Bradml28-Mar-08 1:02
Bradml28-Mar-08 1:02 
QuestionMaking the IE to full Screen Pin
M. J. Jaya Chitra26-Mar-08 19:05
M. J. Jaya Chitra26-Mar-08 19:05 
GeneralRe: Making the IE to full Screen Pin
Shog927-Mar-08 5:46
sitebuilderShog927-Mar-08 5:46 
QuestionRe: Making the IE to full Screen Pin
M. J. Jaya Chitra27-Mar-08 20:53
M. J. Jaya Chitra27-Mar-08 20:53 
GeneralRe: Making the IE to full Screen Pin
Simon P Stevens27-Mar-08 23:26
Simon P Stevens27-Mar-08 23:26 
Questionutf-8 email Pin
Mr Collamack Souza26-Mar-08 16:50
Mr Collamack Souza26-Mar-08 16:50 
GeneralRe: utf-8 email Pin
Shog926-Mar-08 17:52
sitebuilderShog926-Mar-08 17:52 
GeneralLayout for Dummies Pin
Brady Kelly26-Mar-08 9:22
Brady Kelly26-Mar-08 9:22 
GeneralRe: Layout for Dummies Pin
led mike26-Mar-08 10:06
led mike26-Mar-08 10:06 
GeneralRe: Layout for Dummies Pin
Brady Kelly26-Mar-08 10:27
Brady Kelly26-Mar-08 10:27 
GeneralRe: Layout for Dummies Pin
led mike26-Mar-08 10:33
led mike26-Mar-08 10:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.