Click here to Skip to main content
15,891,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: conversion of C# to vb code Pin
DarynRoberts23-Aug-07 21:31
DarynRoberts23-Aug-07 21:31 
QuestionHow to dynamically bind ItemTempalate in dynamically. Pin
imranafsari23-Aug-07 17:54
imranafsari23-Aug-07 17:54 
AnswerRe: How to dynamically bind ItemTempalate in dynamically. Pin
Christian Graus23-Aug-07 18:23
protectorChristian Graus23-Aug-07 18:23 
AnswerRe: How to dynamically bind ItemTempalate in dynamically. Pin
John-ph23-Aug-07 20:52
John-ph23-Aug-07 20:52 
AnswerRe: How to dynamically bind ItemTempalate in dynamically. Pin
ChrisKo24-Aug-07 7:46
ChrisKo24-Aug-07 7:46 
QuestionHow to build an AJAX enabled WebControl ? Pin
SierraMike23-Aug-07 11:57
SierraMike23-Aug-07 11:57 
AnswerRe: How to build an AJAX enabled WebControl ? Pin
Christian Graus23-Aug-07 12:57
protectorChristian Graus23-Aug-07 12:57 
QuestionRe: How to build an AJAX enabled WebControl ? Pin
SierraMike23-Aug-07 20:40
SierraMike23-Aug-07 20:40 
Hi !

And thanks for answering me !

I'm sorry for my confusion between AJAX and MS AJAX ... Maybe they should have kept "Atlas" as the Framework name to avoid mistakes ...

In fact I'm not a Javascript fan, and never was ... The MS AJAX seemed to be a good solution for me, as it could give me the ability to use AJAX benefits without wondering about how it is implemented behind ...

My first try was to put in an UpdatePanel, a textbox and a button. In the eventhandler of the button, using C# code in the codebehind file, I put a statement like this :
<br />
    protected void btnUpdate_Click(object sender, EventArgs e)<br />
    {<br />
        txtTest.Text = "This is a test";<br />
    }<br />

At runtime, a click on the button generates a PostBack but the page doesn't move, only the textbox gets some text in it.

Then, to ensure a linkbutton can do that, I've added a link button in the same UpdatePanel. Here is the code :
<br />
    protected void lkbAnotherTest_Click(object sender, EventArgs e)<br />
    {<br />
        txtTest.Text = "Link clicked";<br />
    }<br />

The same : at runtime, the click on the linkbutton generates a postback but with the "AJAX behaviour", only the textbox got some text in it, the rest of the page didn't move.

But when I put a WebControl self made which is composed of a table with rows and cells themselves composed of many linkbuttons, at runtime, when I click on a linkbutton of my WebControl, the whole page gets refreshed ... I'm then wondering why ! And how I could get it work !
QuestionException :{System.Threading.ThreadAbortException} Pin
Md Arif23-Aug-07 10:08
Md Arif23-Aug-07 10:08 
AnswerRe: Exception :{System.Threading.ThreadAbortException} Pin
ChrisKo23-Aug-07 13:22
ChrisKo23-Aug-07 13:22 
GeneralRe: Exception :{System.Threading.ThreadAbortException} Pin
Md Arif24-Aug-07 2:25
Md Arif24-Aug-07 2:25 
AnswerRe: Exception :{System.Threading.ThreadAbortException} Pin
Vasudevan Deepak Kumar23-Aug-07 20:25
Vasudevan Deepak Kumar23-Aug-07 20:25 
GeneralRe: Exception :{System.Threading.ThreadAbortException} Pin
Md Arif24-Aug-07 2:24
Md Arif24-Aug-07 2:24 
QuestionServer Configuration Error Pin
Gbenle23-Aug-07 9:47
Gbenle23-Aug-07 9:47 
AnswerRe: Server Configuration Error Pin
Gbenle23-Aug-07 16:31
Gbenle23-Aug-07 16:31 
QuestionGeneric Server Control Pin
Yabapmatt23-Aug-07 9:41
Yabapmatt23-Aug-07 9:41 
Questioncreate user with code Pin
ABBASI_RA23-Aug-07 8:50
ABBASI_RA23-Aug-07 8:50 
QuestionFree or cheap component to turn HTML to a pdf. Pin
ToddHileHoffer23-Aug-07 8:30
ToddHileHoffer23-Aug-07 8:30 
AnswerRe: Free or cheap component to turn HTML to a pdf. Pin
Vasudevan Deepak Kumar23-Aug-07 20:28
Vasudevan Deepak Kumar23-Aug-07 20:28 
QuestionASPX to HTML Pin
mehrdadc4823-Aug-07 8:22
mehrdadc4823-Aug-07 8:22 
AnswerRe: ASPX to HTML Pin
netJP12L23-Aug-07 11:00
netJP12L23-Aug-07 11:00 
GeneralRe: ASPX to HTML Pin
ChrisKo23-Aug-07 12:03
ChrisKo23-Aug-07 12:03 
QuestionButton click event asp.net 2.0 Pin
netJP12L23-Aug-07 7:59
netJP12L23-Aug-07 7:59 
AnswerRe: Button click event asp.net 2.0 Pin
CodyGen23-Aug-07 8:15
CodyGen23-Aug-07 8:15 
GeneralRe: Button click event asp.net 2.0 Pin
netJP12L23-Aug-07 8:49
netJP12L23-Aug-07 8:49 

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.