473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ajax CollapsiblePane lExtender And Ajax Modal popup Extender

malav123
217 New Member
Hi,
In my master page i have right pannel, in which i am using the user control and collapsiblePane lExtender and in that right panel there is one link button named "Event", so if user clicks on that link button then the modal popup extender will be displayed... all thing is working well but when modal popup extender displays at that time in the back side collapsible extender also works that is not desirable situation of the modal popup control... so where is the problem in my master page or user control... pls suggest me i am waiting.. it's urgent....

thanks in advance....


-malav.
May 20 '08 #1
10 4344
acoder
16,027 Recognized Expert Moderator MVP
So, if I understand correctly, when the modal popup extender displays, the collapsible extender also opens behind it? Post your code.
May 20 '08 #2
malav123
217 New Member
So, if I understand correctly, when the modal popup extender displays, the collapsible extender also opens behind it? Post your code.

ya you understood correctly...
May 21 '08 #3
acoder
16,027 Recognized Expert Moderator MVP
Well, then, post your code or a link to a test page demonstrating the problem.
May 21 '08 #4
malav123
217 New Member
Well, then, post your code or a link to a test page demonstrating the problem.

Sorry still our project in development face... so i can't give u link for demo but ya i am using user controll in right pannel of master page and in right panel i m using both collapsible extender and modal popup extender...
May 21 '08 #5
acoder
16,027 Recognized Expert Moderator MVP
Without seeing the code, I can't really help. At least post the code which is executed when the button is clicked to open the modal popup.
May 21 '08 #6
malav123
217 New Member
Without seeing the code, I can't really help. At least post the code which is executed when the button is clicked to open the modal popup.
ok the code of linkbutton is given below,

Expand|Select|Wrap|Line Numbers
  1. <table border="0" cellpadding="0" cellspacing="0">
  2.     <tr>
  3.         <td rowspan="3">
  4.             <div>
  5.                 <asp:ImageButton ID="Image1" runat="server" ImageUrl="~/images/expand_blue.jpg" AlternateText="(Show Details...)" />
  6.             </div>
  7.         </td>
  8.     </tr>    
  9.     <tr>
  10.         <td align="left">
  11.             <div id="divContent">
  12.                 <asp:LinkButton ID="lnkEvent" runat="server" Text="Event"  />
  13.             </div>
  14.         </td>
  15.     </tr>
  16. </table>
  17.  
  18.  
  19. <asp:Panel ID="Panel3" runat="server" CssClass="modalPopup">
  20.      <div style="text-align: left;">
  21.             <table width="350px" class="modalpopup">
  22.                 <tr>
  23.                     <td>
  24.                         <img src="../../images/Event.png" alt=""/>
  25.                    </td>
  26.                    <td class="formText">
  27.                         <h2>Events</h2>
  28.                    </td>
  29.                 </tr>
  30.                 <tr>
  31.                     <td colspan="2">&nbsp;</td>
  32.                 </tr>
  33.                 <tr>
  34.                     <th colspan="2" style="text-decoration:underline;" class="formText">
  35.                         Basic Information
  36.                     </th>
  37.                 </tr>
  38.                 <tr>
  39.                     <td colspan="2">
  40.                         <table border="0" cellpadding="1" cellspacing="3" class="formText" style="margin-left:15px" >                            
  41.                             <tr>
  42.                                 <td>
  43.                                     <asp:Label ID="lblReqSubject" runat="server" Text="*" CssClass="RequiredField" />
  44.                                     <asp:Label ID="lblSubject" runat="server" Text="Subject" />
  45.                                 </td>
  46.                                 <td>
  47.                                     <asp:TextBox ID="txtSubject" runat="server" />
  48.                                 </td>
  49.                             </tr>
  50.                             <tr>
  51.                                 <td>
  52.                                     &nbsp;&nbsp;&nbsp;<asp:Label ID="lblDescription" runat="server" Text="Description" />
  53.                                 </td>
  54.                                 <td>
  55.                                     <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" />
  56.                                 </td>
  57.                             </tr>
  58.                              <tr>
  59.                                 <td>
  60.                                     <asp:Label ID="lblReqReminder" runat="server" Text="*" CssClass="RequiredField" />
  61.                                     <asp:Label ID="lblReminder" runat="server" Text="Reminder" />
  62.                                 </td>
  63.                                 <td>
  64.                                     <asp:DropDownList ID="ddlReminder" runat="server">
  65.                                         <asp:ListItem Text="None" Value=""></asp:ListItem>
  66.                                         <asp:ListItem Text="10 Minutes" Value="10"></asp:ListItem>
  67.                                         <asp:ListItem Text="30 Minutes" Value="30"></asp:ListItem>
  68.                                         <asp:ListItem Text="1 Hour" Value="60"></asp:ListItem>
  69.                                     </asp:DropDownList>
  70.                                 </td>
  71.                             </tr>
  72.                         </table>
  73.                         </td>
  74.                    </tr>
  75.                    <tr>
  76.                         <th colspan="2" style="text-decoration:underline;" class="formText">
  77.                             Date & Time
  78.                         </th>
  79.                    </tr>
  80.                    <tr>
  81.                         <td colspan="2">
  82.  
  83.                         <table border="0" cellpadding="1" cellspacing="3" class="formText" style="margin-left:15px">                           
  84.                             <tr>
  85.                                 <td>
  86.                                     <asp:Label ID="lblReqStartDt" runat="server" Text="*" CssClass="RequiredField" />
  87.                                     <asp:Label ID="lblStart" runat="server" Text ="Start" />
  88.                                 </td>
  89.                                 <td>
  90.                                     <asp:TextBox ID="txtStartDt" runat="server" />
  91.                                     <asp:Image ID="imgStartDt" runat="server" ImageUrl="~/images/calendar.gif" />
  92.                                 </td>   
  93.                             </tr>
  94.                             <tr>
  95.                                 <td>
  96.                                     <asp:Label ID="lblReqEndDt" runat="server" Text="*" CssClass="RequiredField" />
  97.                                     <asp:Label ID="lblEnd" runat="server" Text="End" />
  98.                                 </td>
  99.                                 <td>
  100.                                     <asp:TextBox ID="txtEndDt" runat="server" />
  101.                                     <asp:Image ID="imgEndDt" runat="server" ImageUrl="~/images/calendar.gif" />
  102.                                 </td>
  103.                             </tr>                              
  104.                             <tr>
  105.                                 <td colspan="2">
  106.                                     <asp:Label id="lblnote" runat="server" Text="Note: An E-mail will also be send for notification" ForeColor="red" Font-Bold="true" />                                    
  107.                                 </td>
  108.                             </tr> 
  109.  
  110.                         </table>
  111.                         <p style="text-align: center;">
  112.                             <asp:Button ID="OkButton" runat="server" Text="Add Event" />
  113.                             <asp:Button ID="CancelButton" runat="server" Text="Cancel" />
  114.                         </p>
  115.                     </td>
  116.                 </tr>
  117.               </table>            
  118.             </div>             
  119.     </asp:Panel>
  120.  
  121.  
  122.  
  123.  
  124.  
  125. <div align="center" style="vertical-align: middle">
  126. <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender" runat="server" TargetControlID="lnkEvent" PopupControlID="Panel3" BackgroundCssClass="modalBackground" 
  127. OkControlID="OkButton" DropShadow="true" CancelControlID="CancelButton"   />
  128. </div>
  129.  
  130.  


This is the code which i have written in the user controll and the code of collapsible control is written in master page... do you want to see that code ???
May 21 '08 #7
acoder
16,027 Recognized Expert Moderator MVP
Whatever code you post should be client-side i.e. how it appears in the browser as HTML/CSS and JavaScript, otherwise you may as well post this in the .NET forum.
May 21 '08 #8
malav123
217 New Member
Whatever code you post should be client-side i.e. how it appears in the browser as HTML/CSS and JavaScript, otherwise you may as well post this in the .NET forum.

Hi,
My one problem is solved but still i am working on this problem to be solved... ok one question that can we use both extender that is modal popup extender and collapsible extender at the same place ???
May 22 '08 #9
acoder
16,027 Recognized Expert Moderator MVP
That's more a .NET question. Ask in the .NET forum.
May 22 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
10574
by: Not Me | last post by:
Hey, I'm using the MS AJAX libraries to achieve a modal popup window. Prior to using the toolkit control, I have a gridview and detailsview objects visible on the page.. when the gridview row is selected, the detailsview updates (in a seperate updatepanel - no full refresh) Now I've added the modalpopupextender and the result is that although the ok/cancel buttons on the panel appear.. the details within the detailview are blank...
1
2952
by: Samuel Rhodes | last post by:
hi i am using a ajax modal popup to allow the user to search an item and select the required item from the list. whenever i try to search the item, which causes a post back....the modal popup disappears/becomes invisible... in general, any postback fired from within the modal popup makes the modal popup disappear.
1
4855
by: mbruyns | last post by:
i have been trying (and sometimes succeeding) to use the modalpopupextender to show various panels of controls on my asp pages. the strange problem that i keep on running into is that sometimes it works, displaying an awesome popup, while other times, it doesn't show a popup at all, but rather just page posts back and the panel becomes visible at the bottom of the page (where it is situated in the designer). what is even stranger to me is that...
1
2788
by: Jamie Sutherland | last post by:
Hi , On my page I have updatepanel 2 buttons, 2 modalpopup extenders panel with a updatepanel and some textboxes in it. I want to use the 2 buttons to open the same panel using the modalpopup extenders. My question is how do i go about this as I can only get the first button to
16
11108
malav123
by: malav123 | last post by:
Hi, I am using Ajax's modal popup extender to display the information about all the rows of gridview but the problem is when page loads, modal popup extender loads for all the rows... but i want to implement the same as when i request for particular row at that time modal popup should be load.... because it's take so much execution time when the page loads... so is there any solution of my problem ??? I am waiting for Reply......
3
1964
by: jarremw | last post by:
hello all, what i have is a modal popup control extender, i have an ajax script that saves the value of the two textboxes that are in the popup, what i am needing is a way to insert those values into my mysql database using ajax since the server side code will have already been executed, how would i go about doing this, i have read on the xmlhttprequest function but im not sure if that is what i need, in the modal pop up i have two textboxes and...
1
5234
by: mistryman06 | last post by:
Hi, I'm new to the ASP.NET Ajax. Im struck with an issue. Im having a tabcontainer with 3 tabs. Each tab has a user control (all 3 tab has the same user control) & the user control has a Button & ModalPopup Extender. While running the application, When I click the TAB1's Button i get a modalpopup in the page. But when i select the TAB2 and click on the Button. Im not getting any modalpopup in the 2nd tab rather i see the modal popup in...
5
10886
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
Hi all Have a couple of issues with the modal popup extender (asp.net 3.5, vb.net, visual studio 2008): I have created a user control (e-mail enquiry form) which is designed to accept text input then send an e-mail. The user control has 2 views – view 1 –e-mail input form, view 2 confirmation that e-mail has been sent.
2
7255
by: btreddy | last post by:
Hii experts, Im tring to display a panel as a modal popup when i click a link button which is placed in the footer template of my Grid view.But its not getting compiled and the error its showing is "The TargetControlID of 'mpeAddParticipant' is not valid. A control with ID 'ParticipantMeetingID' could not be found"'mpeAddParticipant' is the id of the modal pop up extender and 'ParticipantMeetingID' is the id of the link button which ic...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.