.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Make Ajax CalendarExtender always visible on a modalpopup

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
Hi There,Using a modalpopupextender a panel having controls is poped-up as a modalpopup. The problem I am facing is how to make the Ajax Calendar always  visible on the modalpopup.Functionality of controls on modal popup:1. A calendar (use of Calendarextendar preferred) and a ListBox placed side by side. 2. calendar's behavior need to be exactly the same as that acheived using a Ajax Calendarextendar3. The Calendar is always visible. 4. The days selected by user are appended to the ListBox (with no repeatition)How to meet the above conditions? Any help will be gratefully acknowledged.

View Complete Post

More Related Resource Links

How To Access Datakeys In Javascript...and How To make gridview Column Visible true in javascript


How To Access Gridview's Datakeys In Javascript...and How To make gridview Column Visible true in javascript

Reply me..

radiobutton list item make visible true or false in javascript

in my project i have used one radiobuttonlist according different user login , i want to make one of radiobuttonlist item visible true or false..   please help me to solve this issue.   thanks in advance.  

Make all DropDownExtender visible

Hi!I use DropDownExtenders everywhere in my project, but it bothers me that it's not visible all the time. It looks like an usual TextBox :-(I searched for it and found this solution:     <script type="text/javascript">           function pageLoad()     {         $find('TextBox1_DropDownExtender')._dropWrapperHoverBehavior_onhover();               $find('TextBox1_DropDownExtender').unhover = VisibleMe;     }         function VisibleMe()     {         $find('TextBox1_DropDownExtender')._dropWrapperHoverBehavior_onhover();     }      </script>Well.. it worked, but it's not good enough.I need a piece of code that will change this for all DropDownExtenders. Any ideas?

Asp AJax ModalPopup Problems

HI, I am invoking a modal formview popup for edit and insert on a gridview selection. When the edit button is first clicked, the popup shows up and on subsequent click it gives errors like    Microsoft JScript Error:Sys.InvalidOperationException:Two Components with the same id.    ctl100_ContentPlaceHolder1_ucopsphone11_mdlPopupPhone cannot be added to the application. The ucopsphone11 is a grid user control within which I placed a modal formview. 1. How to make the modal popup work properly. 2. The update/cancel/command should be inside the popup formview or outside of the modal popup. 3. In the modalPopup usercontrol page_load event I was trying to set default mode. But it fires only once because     of (Not PostBack) during the page load. But when modalPopup is shown it is not fired.      I want to the use same modalPopup for edits/insert.   I have been struggling with this for more than a day. I would appreciate if someone help me move forward with this. Thanks Suresh   Grid View Page protected void GridViewAppPhone_SelectedIndexChanged(object sender, EventArgs e) { GridViewRow row = GridViewAppPhone.SelectedRow; int index = GridViewAppPhone.SelectedIndex; strkey1 = GridViewAppPhone.DataKeys[rows.RowIndex["id"].ToString() Session["papp_id"] = strkey

Ajax Control Toolkit - ModalPopup displaying behind Flash

HiI have a flash on my page and I need to popup an ajax window, I use ModalPopupExtender. The problem is that ajax popup window always shows behind the flash in Internet explorer and Google Chrome. In firefox there are no such problem.I tried to set wmode="transparent" but id didn't help.Thanks

Using AJAX Extenders To Make Client-Side Happy

I am developing a web application that needs to retrieve, display and write data to an SQL database.  I'm trying to use AJAX and Javascripts in order to populate fields, lists and data, and to have button and calendar controls on the page that can update the page without refreshing and losing the data page.  Therefore, it's necessary that I find ways to doing as much as possible (ideally, everything) client-side, without page refreshes. Now, for security purposes, I've heard that there's a method for retrieving a copy of all relevant data from SQL at loading time, keeping a copy of it, perhaps on a separate page, and send-retrieve-display this data on my page, and then, at Submission time, write this data back to the Server.  This is to minimize hits to the Server and to preserve data integrity.  I've heard that doing this is called using an Extender, but we can't find examples of how this works so far. Can anybody provide me with a code example of how this is done and what it looks like?  Trying to find out how this is done, and decide if it's practical. Any suggestions and questions are welcome.

I can't make Ajax enabled website on my own PC.

I simply can add Ajax toolkit to a project and make Ajax-enabled website at work place, however there is always a white and blank page on my own PC, whe try to make the same project.Although I've installed Ajax Toolkit, and Ajax minifier on both VS 2008 and 2010, but I can't make Ajax-enabled website at home.any idea?

Make Document Content Types visible in search results

How do I make the document content type show in the search results? so when I search for something I get back the content type along with the usual title, summary, urls, size etc. thx    

Weird behaviour of Gridview with textbox with autopostback OnTextChanged and AJAX CalendarExtender

I ran in to some strange behaviour of Gridview with textbox with autopostback OnTextChanged and AJAX CalendarExtender. This gridview is in an updatepanel with scriptmanager. When my gridview is filled with data, it keeps running my OnTextChanged  function and therefor makes my application terribly slow. I need to have the autopostback and ontextchanged function to recalculate stuff in my gridview. Does anybody know of this problem and if so does anybody found a workarround ?

How to make masterpage visible for one subsite instead of all subsites?


Masterpages can be places to _catalogs/masterpage/ folder of the sitecollection root, so it is accessible to any subsite.

If i place masterpage into _catalogs/masterpage/ folder of the subsite, then this masterpage is inaccessible in "Site Configuration/Look and Feel/Masterpage and CSS"

Ajax ModalPopup is not really modal?




I'm trying to use ModalPopup Extender but I can't make it to be a true modal control.  In my app I'm using asp menu and the menu is always enabeld and active when the ModalPopup is activated.  Other controls on the page seem to be disabled (i.e. as expected).

Does anyone know of a good workaround?


How to make my own AJAX Server Control



The title says it all.

please give a very very clear tutorial preferebly video.


No combobox ajax control visible in Visual Studio 2008 web project


Greetings -

New user to Visual Studio 2008 - one of the reasons for upgrading from 2005 was because I wanted to use the AJAX Toolbox Control for combobox in my web forms. 

Have started a new project, have told it to use .net 3.5 for the project, but when I go to the ajax tooklkit in the toolbox panel there is no combobox.  Could someone please tell me why it isn't there?

Environment - Visual Studio 2008 SP1

Many thanks - OfficeWonk


How to make a panel visible based on the validation of a text box?



I have a text box and some validation on it. I want to make a panel visible only when

it is successfully validated,i.e.,textbox entry is valid.Also,I want to capture the entered valid value(it should be integer within 1-8) in a session,based on this number,I am going to add that many rows in an editable grid view.

How to do that?

make form scroll itself to label that has become visible?


Is it possible to make a web form scroll itself down (or up) to a label, for example an error label, when it becomes visible? If yes - what's the method called?

how to make VS Intellisense show complex object's properties for result of Ajax call?



I've create a WCF webservice and created a proxy to the service using ScriptManager.

I can see the created a proxy class, and intellisense pops up the methods of the webservice (great!!). But, I can't see the properties of the method params, return types.

The webservice method:

searchResponse DBSearch.Search(searchRequest)

have comlex types as a parameter (searchRequest) and a return type (searchResponse).

Intellisense does recognize these types, but I can not see the properties (javacript does);


var _searchRequest = new DBSearch.SearchRequest; (intellisense knows type SearchRequest)

_searchRequest.query = "liver lacerations"; (intellisense doesn't know it's property 'query')

_searchRequest.searchOptions = "modality=mri";

Obviously, with javascript, var _searchRequest is not typed, but is there a way to hint intellisense into the properties of the class?



Ajax comboBox not displaying correctly after panel made visible




I have a WSP project in which i have added ajaxcontroltoolkit to SharePoint 2010 succesfully and the controls work when in basic web parts.


However i have a web part which has several panels to show / hide various sections as required, within one of the panels i have a combobox.

The panels are set a visible = false to begin with and then toggled to be displayed. 

When the panel is set visible = true i get an Javascript error of: 

Message: 'AjaxControlToolkit' is undefined


The combobox does not display correctly and won;t function.


If the panel is set as visible to begin with - it works fine, but thats not a solution to something which should work.


I have tried various workarounds - but nothing is working.

  • changed scriptmanager on master page to ToolkitScriptManager 
  • add javascript to resize the combobox when its made visible

Is there away to get this working?




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend