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

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

Display panel on Calendar select.

Posted By:      Posted Date: October 18, 2010    Points: 0   Category :ASP.Net

I have a calendar that gets populated by a drop down list.  It displays a user's name on a date that they have something scheduled.  I need to have a summary panel display when the names are clicked on.  I'm using the asp:calendar.  I have tried using AddHandler and the name isn't clickable either.


    <asp:Panel ID="pnlView"  runat="server" CssClass="modalPopup" style="display:none">
        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <asp:Button ID="btnPopView" runat="server" style="display:none" />
                <asp:ModalPopupExtender ID="PopupView" runat="server" TargetControlID="btnPopView" PopupControlID="pnlView" BackgroundCssClass="modalBackground" />
                    <tr><td class="tblHdr" colspan="2">Request Information:</td></tr>
                    <tr><td class="tblDesc">Requesting For:</td>
                        <td><asp:Label ID="lblFor" runat="server" /></td></tr>

View Complete Post

More Related Resource Links

Sharepoint list group by column data ,display in webcontrol like panel or label


I  have a sharepoint list[Managers] with groupby sector column. like below




Each Sector group by column data i want to display in label or panel control.

How to do that ? how to write the logic?



Regards, Mansoor

Anonymous Access to "Event Export" on sharepoint calendar display page

I am using a SharePoint calendar with events added in the list. When an anonymous user tries to use "Export Event" on the display page ,the user is prompted for a login. Is there a way that an anonymous user can download the .ics file without logging in ? Is anonymous access even possible ?    

Form Display is very slow to display, (using large multi-select lists)

Hi, I am looking for some suggestions on how to speed up a few very slow forms. We have created some Leaver and Joiner type forms for our IT guys. They contain some lookup data , and we need to pick multiple values from a hidden list. Unfortunately this (Systems/Roles) list is large (3000 rows and growing). On a couple of forms there are 2 of these multi-select boxes, and things are getting pretty slow to display. Any suggestions? ---------- Background Info / things I have tried: The forms are based on Site content types and Site Columns. A set of 5 Combo boxes is slower than one Multi-select list. SPDesigner is available but I do not have Central Admin rights I am not alowed to write/install custom code on the server. (Visual Studio code / Codeplex code / extra Features etc) :-( I have had to resize the Multi-select list, so am using the SPServices JQuery call to make the multi-select box wide enough for the text. But this is extra overhead so I might have to back that out / replace with a fixed width for the multiselect box (if I can find it's id, so I can do that in Javascript). Filtering the Multi-select box is possible, but only after the page has initially loaded (it seems) (again I tried the SPServices Jquery call) The Company intend to add more Content types, so I am trying to avoid a custom Newform.aspx for each type (Leaver / New Joiner / Transfer/ C

Calendar needed to display on entire page, not just popup

Im looking for a .net calendar control that will display current month and allow me to populate each day with specific data / links i found this site, http://www.lebans.com/ but seems to be kinda old, is there any .net controls available to display a month calendar with the flexibility im looking for? It needs to be able to be bound to db so that i can display certain data per day.   thanks. 

how to display multiple calendar list data in single calendar view

Hi, Normally, we can used to extend the ListViewWebPart's ViewType property to display a particular calendar list items in Calendar View in our custom webpart. Is it any way to display multiple calendar list data in a single calendar view ?? or please provide some pointers related to this issue. Any help is much appreciated.    

How to display the date only till current date in ajax calendar extender .

Hi,1) How can i display the date only till current date in ajax calendar extender ?2)How to validate the date in one TextBox with the Date in another TextBox ?    Please Help me ...

In SSRS 2005 in y-axis i want to display only those dates which are coming from select statement one

For example in select statement:   select date  from Employee   Now i want to show only this date field in y-axis in ssrs 2005, how can i resolve this issue?

"Display Image in image Conrtrol when user select Image from Selection_Dialogbox.


Hi all,


         I want to achive on functionallity like below.

         I want to Dispaly image after image selection.so Users  can see image at that moment.

         So Please anybody help me???








Can I display Data from a SQL Select Statement to a Label


            sql_select = "SELECT auid FROM tbl_auAccount WHERE username='" & IUN & "'"

            'Add Error Trapping Later
            con = Server.CreateObject("ADODB.Connection")

            'Execute the SQL Command

            'Close the connection
            con = Nothing

Now this works and I was able to put the value into a dropdown list box, but I need the value returned placed into a label such as:

Calendar Extender: how to display two months on one button click?



I am asked to popup the calendar with two months. When a user selects a date, it popups in a textbox. The botton I have now may trigger only one calendar, not two. I saw someone asked the same question, but it didn't get solved. I am wondering if anyone may come up with a solution.

I know that I may code myself with two asp:calendar controls and divs, and play show/hide, but that's more work.  

Any suggestion or hint is welcome. Thank you!



Want to display an outlook calendar in sharepoint as read only


Is it possible to display an outlook calendar in sharepoint as read only.

All updates to the calendar must be done in Outlook.

Sharepoint 2010 and Outlook 2007

Users can select multiple Dates in Calendar


Hello everyone,

I need some pointers to start on this.

We are building a time off application where three instances of a calendar control will be displayed ( prev - current and next month)   now users can click on various dates accross all three instances and then a count of number of days should be diaplyed in the parent textbox.

To begin with this, i started with adding the dates clicked by the user in Calendar2_SelectionChanged method into a list<> so that i can get the all dates user clicked and then add it to calander's selected dates collection. But this throws an e" object reference not set" error.

Is there anyother way to get all the dates that user click onthe calendar( note the dates doesn't get highlighed so seleteddates doesnt work)

does anyone has a good example for this.

Thank you. 

I've got a SplitContainer with a second SplitContainer in the right panel - Display problem

The second SplitContainer does not display at all. However, if I put something else, say a Button, in that panel, it displays without problems.

AJAX GridView Checkbox Select All in ASP.Net

In the previous article GridView Select Multiple Rows you learnt the multiple row selection in GridView control. Here you will get the C# code sample to select all the gridview rows using single checkbox server control. You can highlight the selected rows with different color and Font state Bold. If you want to use the selection values on different ASP.Net

GridView inline Master/Detail record display

This code drop is part of a smash and grab series. If you're in a rush, you can just grab this code and insert it into your application, no understanding is required. When you have some time (ya, right) you may want to review the source code.

How To Add calendar control inside a GridView

This article show hot to add calendar control inside a GridView with code in c#

Using ATLAS PopUp Control with Calendar inside the GridView Control

In this video tutorial Mohammad demonstrates how you can access the Calendar control which is displayed using the ATLAS PopUp control inside the GridView control.
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