Click here to Skip to main content
15,881,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to update data into gridview by using dataset through coding ? Pin
Christian Graus13-Dec-08 14:05
protectorChristian Graus13-Dec-08 14:05 
GeneralRe: How to update data into gridview by using dataset through coding ? Pin
ofekhorizon13-Dec-08 21:38
ofekhorizon13-Dec-08 21:38 
AnswerRe: [Message Deleted] Pin
Christian Graus14-Dec-08 8:22
protectorChristian Graus14-Dec-08 8:22 
QuestionProfile.FullName Issue Pin
laziale13-Dec-08 8:55
laziale13-Dec-08 8:55 
QuestionStatus circle Pin
nour12313-Dec-08 7:04
nour12313-Dec-08 7:04 
AnswerRe: Status circle Pin
Expert Coming13-Dec-08 8:05
Expert Coming13-Dec-08 8:05 
AnswerRe: Status circle Pin
Christian Graus13-Dec-08 10:15
protectorChristian Graus13-Dec-08 10:15 
QuestionAjax not working - still does post-backs [modified] Pin
JFord123413-Dec-08 6:20
JFord123413-Dec-08 6:20 
Hi,

I'm new to AJAX and I've been going crazy trying to figure out what's stopping my controls from updating on the client side rather than just normally sending a post-back.

I have a script manager, and an UpdatePanel which contains a small form and a gridview.
Upon submitting the form, the Gridview should be updated. But it keeps on doing it on the server side.

Here's an edited part of my code:
=================================================================================
<form id="form1" runat="server">
<asp:ScriptManager
ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<asp:TextBox ID="TextBoxValue" runat="server"></asp:TextBox>

<asp:Button ID="Search" runat="server" CausesValidation="False" Height="22px"
onclick="Search_Click" Text="חפש" UseSubmitBehavior="False" Width="48px" />

<asp:RadioButtonList ID="RadioButtonListDic" runat="server"
RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Text="1234">1234</asp:ListItem>
<asp:ListItem Text="1234">1234</asp:ListItem>
</asp:RadioButtonList>

<asp:GridView ID="GridViewResults" runat="server" CellPadding="4" ForeColor="#333333"
GridLines="None" AutoGenerateColumns="False">

</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Search" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
Searching
</ProgressTemplate>
</asp:UpdateProgress>
</form>
=================================================================

As you can see, I've even tried to specificly make the Search button update.
Also I should mention that I'm using a Masterpage, with no ajax controls.

What am I doing wrong?

Many thanks,
JFord

<div class="ForumMod">modified on Saturday, December 13, 2008 12:27 PM</div>
AnswerRe: Ajax not working - still does post-backs Pin
Christian Graus13-Dec-08 10:13
protectorChristian Graus13-Dec-08 10:13 
GeneralRe: Ajax not working - still does post-backs Pin
JFord123413-Dec-08 11:15
JFord123413-Dec-08 11:15 
GeneralRe: Ajax not working - still does post-backs Pin
Christian Graus13-Dec-08 11:28
protectorChristian Graus13-Dec-08 11:28 
QuestionHelp With Playing FLV Videos from an SQL database? Pin
jambazi13-Dec-08 1:41
jambazi13-Dec-08 1:41 
AnswerRe: Help With Playing FLV Videos from an SQL database? Pin
Christian Graus13-Dec-08 10:08
protectorChristian Graus13-Dec-08 10:08 
QuestionUnderstanding HTTP Modules better Pin
CrimeanTurtle200812-Dec-08 23:37
CrimeanTurtle200812-Dec-08 23:37 
AnswerRe: Understanding HTTP Modules better Pin
Brij13-Dec-08 0:07
mentorBrij13-Dec-08 0:07 
GeneralRe: Understanding HTTP Modules better Pin
CrimeanTurtle200813-Dec-08 0:12
CrimeanTurtle200813-Dec-08 0:12 
Questionrolling of images in asp.net Pin
lavesh2129112-Dec-08 22:28
lavesh2129112-Dec-08 22:28 
AnswerRe: rolling of images in asp.net Pin
Abhijit Jana12-Dec-08 22:38
professionalAbhijit Jana12-Dec-08 22:38 
GeneralRe: rolling of images in asp.net Pin
lavesh2129112-Dec-08 22:57
lavesh2129112-Dec-08 22:57 
AnswerRe: rolling of images in asp.net Pin
Abhijit Jana12-Dec-08 23:07
professionalAbhijit Jana12-Dec-08 23:07 
GeneralRe: rolling of images in asp.net Pin
ofekhorizon13-Dec-08 21:42
ofekhorizon13-Dec-08 21:42 
QuestionRe: rolling of tables in asp.net [modified] Pin
lavesh2129114-Dec-08 21:34
lavesh2129114-Dec-08 21:34 
QuestionWorking with Crystal Reports Pin
SUDHAKAR PALLAM12-Dec-08 20:43
SUDHAKAR PALLAM12-Dec-08 20:43 
AnswerRe: Working with Crystal Reports Pin
Abhijit Jana12-Dec-08 22:24
professionalAbhijit Jana12-Dec-08 22:24 
Questiondisplay images in grid view from sqltable(urgent) Pin
lavesh2129112-Dec-08 20:05
lavesh2129112-Dec-08 20:05 

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.