Click here to Skip to main content
15,900,431 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: i need voice mailing concept Pin
Vimalsoft(Pty) Ltd24-Feb-09 19:07
professionalVimalsoft(Pty) Ltd24-Feb-09 19:07 
AnswerRe: i need voice mailing concept Pin
N a v a n e e t h24-Feb-09 19:09
N a v a n e e t h24-Feb-09 19:09 
Questionto execute SQL queries after a specific time interval Pin
aashish.saalvi24-Feb-09 16:34
aashish.saalvi24-Feb-09 16:34 
AnswerRe: to execute SQL queries after a specific time interval Pin
Jon Rista24-Feb-09 17:35
Jon Rista24-Feb-09 17:35 
Question[Message Deleted] Pin
Clay Aldebol24-Feb-09 13:19
Clay Aldebol24-Feb-09 13:19 
AnswerRe: ImageUrl does not update in Updatepanel Pin
Christian Graus24-Feb-09 13:46
protectorChristian Graus24-Feb-09 13:46 
GeneralRe: ImageUrl does not update in Updatepanel Pin
Clay Aldebol26-Feb-09 9:25
Clay Aldebol26-Feb-09 9:25 
AnswerRe: ImageUrl does not update in Updatepanel Pin
ToddHileHoffer24-Feb-09 14:09
ToddHileHoffer24-Feb-09 14:09 
Here is how you might try this...
Mater page aspx
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>


<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>

</div>

</form>
</body>




Master page code behind
public partial class Site1 : System.Web.UI.MasterPage
{
public UpdatePanel UpdtPanel1
{
get { return this.UpdatePanel1; }
}

public UpdatePanel UpdtPanel2
{
get { return this.UpdatePanel2; }
}


protected void Page_Load(object sender, EventArgs e)
{

}
}



Content page
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Put your map here

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

Image here

</asp:Content>



In code behind
protected void Page_PreRender(object sender, EventArgs e)
{

if (!IsPostBack)
{
Site1 obj = (Site1)this.Master;
AsyncPostBackTrigger trigger = new AsyncPostBackTrigger();



//Sets the control that will trigger a post-back on the UpdatePanel
trigger.ControlID = this.MapControl.id

//Sets the event name of the control
trigger.EventName = "Click";



obj.UpdtPanel1.Triggers.Add(trigger);
obj.UpdtPanel2.Triggers.Add(trigger);

}
}


I didn't get any requirements for the signature


GeneralRe: ImageUrl does not update in Updatepanel Pin
Clay Aldebol24-Feb-09 14:51
Clay Aldebol24-Feb-09 14:51 
AnswerRe: ImageUrl does not update in Updatepanel Pin
Clay Aldebol28-Feb-09 6:12
Clay Aldebol28-Feb-09 6:12 
Question[Message Deleted] Pin
Terick24-Feb-09 11:14
Terick24-Feb-09 11:14 
AnswerRe: Javascript to disable button on form if checkbox in gridview is selected Pin
Christian Graus24-Feb-09 12:27
protectorChristian Graus24-Feb-09 12:27 
QuestionRepeater control Pin
cyxapebpek24-Feb-09 10:46
cyxapebpek24-Feb-09 10:46 
AnswerRe: Repeater control Pin
Christian Graus24-Feb-09 11:43
protectorChristian Graus24-Feb-09 11:43 
GeneralRe: Repeater control Pin
cyxapebpek24-Feb-09 11:47
cyxapebpek24-Feb-09 11:47 
QuestionJavascript to enable/disable textbox based on checkbox [modified] Pin
Terick24-Feb-09 10:27
Terick24-Feb-09 10:27 
AnswerRe: Javascript to enable/disable textbox and button based on checkbox Pin
ToddHileHoffer24-Feb-09 10:42
ToddHileHoffer24-Feb-09 10:42 
GeneralRe: Javascript to enable/disable textbox and button based on checkbox Pin
Terick24-Feb-09 10:51
Terick24-Feb-09 10:51 
GeneralRe: Javascript to enable/disable textbox and button based on checkbox Pin
ToddHileHoffer24-Feb-09 12:54
ToddHileHoffer24-Feb-09 12:54 
GeneralRe: Javascript to enable/disable textbox and button based on checkbox Pin
Terick25-Feb-09 3:39
Terick25-Feb-09 3:39 
QuestionDataset vs Customcollection Pin
Mogaambo24-Feb-09 10:09
Mogaambo24-Feb-09 10:09 
AnswerRe: Dataset vs Customcollection Pin
ToddHileHoffer24-Feb-09 10:35
ToddHileHoffer24-Feb-09 10:35 
QuestionActivation Code... Pin
sitnet24-Feb-09 8:47
sitnet24-Feb-09 8:47 
AnswerRe: Activation Code... Pin
Christian Graus24-Feb-09 9:21
protectorChristian Graus24-Feb-09 9:21 
QuestionASP.net Pin
Suchinthaka24-Feb-09 6:19
Suchinthaka24-Feb-09 6:19 

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.