Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > e.NewValues value is missing

Reply
Thread Tools

e.NewValues value is missing

 
 
Samuel
Guest
Posts: n/a
 
      01-28-2007
I am looking for the newly entered value in the GridView control and there
is no values retuned in the e.NewValues collection (count is 0)

Thank you,
Samuel


 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      01-28-2007
Are you using The <%#Bind... %> syntax? E.g two-way databinding?


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Samuel" <> wrote in message
news:eN5i8$...
>I am looking for the newly entered value in the GridView control and there
>is no values retuned in the e.NewValues collection (count is 0)
>
> Thank you,
> Samuel
>


 
Reply With Quote
 
 
 
 
Samuel
Guest
Posts: n/a
 
      01-28-2007
<EditItemTemplate>

<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("fTaskType")
%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:Label ID="Label1" runat="server" Text='<%# Bind("fTaskType")
%>'></asp:Label>

</ItemTemplate>



sam

"Teemu Keiski" <> wrote in message
news:7EDF3BF5-2D60-4C66-A56E-...
> Are you using The <%#Bind... %> syntax? E.g two-way databinding?
>
>
> --
> Teemu Keiski
> AspInsider, ASP.NET MVP
> http://blogs.aspadvice.com/joteke
> http://teemukeiski.net
>
>
>
> "Samuel" <> wrote in message
> news:eN5i8$...
>>I am looking for the newly entered value in the GridView control and there
>>is no values retuned in the e.NewValues collection (count is 0)
>>
>> Thank you,
>> Samuel
>>

>



 
Reply With Quote
 
Teemu Keiski
Guest
Posts: n/a
 
      01-28-2007
And how's the SqlDataSource?

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Samuel" <> wrote in message
news:usXxg$...
> <EditItemTemplate>
>
> <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("fTaskType")
> %>'></asp:TextBox>
>
> </EditItemTemplate>
>
> <ItemTemplate>
>
> <asp:Label ID="Label1" runat="server" Text='<%# Bind("fTaskType")
> %>'></asp:Label>
>
> </ItemTemplate>
>
>
>
> sam
>
> "Teemu Keiski" <> wrote in message
> news:7EDF3BF5-2D60-4C66-A56E-...
>> Are you using The <%#Bind... %> syntax? E.g two-way databinding?
>>
>>
>> --
>> Teemu Keiski
>> AspInsider, ASP.NET MVP
>> http://blogs.aspadvice.com/joteke
>> http://teemukeiski.net
>>
>>
>>
>> "Samuel" <> wrote in message
>> news:eN5i8$...
>>>I am looking for the newly entered value in the GridView control and
>>>there is no values retuned in the e.NewValues collection (count is 0)
>>>
>>> Thank you,
>>> Samuel
>>>

>>

>
>


 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      01-28-2007
It is bound to a datatable object which I modify before binding


"Teemu Keiski" <> wrote in message
news:2DCCA7EF-C75E-47FC-8A6B-...
> And how's the SqlDataSource?
>
> --
> Teemu Keiski
> AspInsider, ASP.NET MVP
> http://blogs.aspadvice.com/joteke
> http://teemukeiski.net
>
>
>
> "Samuel" <> wrote in message
> news:usXxg$...
>> <EditItemTemplate>
>>
>> <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("fTaskType")
>> %>'></asp:TextBox>
>>
>> </EditItemTemplate>
>>
>> <ItemTemplate>
>>
>> <asp:Label ID="Label1" runat="server" Text='<%# Bind("fTaskType")
>> %>'></asp:Label>
>>
>> </ItemTemplate>
>>
>>
>>
>> sam
>>
>> "Teemu Keiski" <> wrote in message
>> news:7EDF3BF5-2D60-4C66-A56E-...
>>> Are you using The <%#Bind... %> syntax? E.g two-way databinding?
>>>
>>>
>>> --
>>> Teemu Keiski
>>> AspInsider, ASP.NET MVP
>>> http://blogs.aspadvice.com/joteke
>>> http://teemukeiski.net
>>>
>>>
>>>
>>> "Samuel" <> wrote in message
>>> news:eN5i8$...
>>>>I am looking for the newly entered value in the GridView control and
>>>>there is no values retuned in the e.NewValues collection (count is 0)
>>>>
>>>> Thank you,
>>>> Samuel
>>>>
>>>

>>
>>

>



 
Reply With Quote
 
Teemu Keiski
Guest
Posts: n/a
 
      01-28-2007
It would work only if you'd use ASP.NET's data source controls
(ObjectDataSource, SqlDataSource etc)

For example see this post and its comments:
http://www.lhotka.net/weblog/ASPNET2...ustration.aspx

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Samuel" <> wrote in message
news:...
> It is bound to a datatable object which I modify before binding
>
>
> "Teemu Keiski" <> wrote in message
> news:2DCCA7EF-C75E-47FC-8A6B-...
>> And how's the SqlDataSource?
>>
>> --
>> Teemu Keiski
>> AspInsider, ASP.NET MVP
>> http://blogs.aspadvice.com/joteke
>> http://teemukeiski.net
>>
>>
>>
>> "Samuel" <> wrote in message
>> news:usXxg$...
>>> <EditItemTemplate>
>>>
>>> <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("fTaskType")
>>> %>'></asp:TextBox>
>>>
>>> </EditItemTemplate>
>>>
>>> <ItemTemplate>
>>>
>>> <asp:Label ID="Label1" runat="server" Text='<%# Bind("fTaskType")
>>> %>'></asp:Label>
>>>
>>> </ItemTemplate>
>>>
>>>
>>>
>>> sam
>>>
>>> "Teemu Keiski" <> wrote in message
>>> news:7EDF3BF5-2D60-4C66-A56E-...
>>>> Are you using The <%#Bind... %> syntax? E.g two-way databinding?
>>>>
>>>>
>>>> --
>>>> Teemu Keiski
>>>> AspInsider, ASP.NET MVP
>>>> http://blogs.aspadvice.com/joteke
>>>> http://teemukeiski.net
>>>>
>>>>
>>>>
>>>> "Samuel" <> wrote in message
>>>> news:eN5i8$...
>>>>>I am looking for the newly entered value in the GridView control and
>>>>>there is no values retuned in the e.NewValues collection (count is 0)
>>>>>
>>>>> Thank you,
>>>>> Samuel
>>>>>
>>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports - Visual Basic UFL that implements this function is missing (or U2lcom.dll is missing) Les Caudle ASP .Net 3 09-03-2007 02:27 AM
Find value of SELECT if VALUE attribute is missing Matt Kruse Javascript 4 01-08-2007 09:03 PM
Re: missing feature classes and missing fields Gary Herron Python 2 07-04-2006 10:29 PM
Using Missing.Value in C# DN ASP .Net 2 11-13-2003 09:26 PM
Re: "Missing parameter field current value" with CR.NET David McAmis \(Crystal Certified Consultant\) ASP .Net 0 07-16-2003 05:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57