Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
Dear all and Telerik,
I have the code below
<asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional"
    <ContentTemplate> 
        <asp:Panel ID="pnlSignatureUpdate" runat="server" Width="850px" Style="display: none;" 
            CssClass="Popup_Table"
            <table border="0" class="Popup_Title" cellpadding="0" cellspacing="0" style="width: 100%"
                <tr> 
                    <td> 
                        <b>::<%=ResxManager.GetString("Report_Signature") %>::</b></td
                    <td style="width: 20px; padding-right: 2px;" align="center"
                        <div style="height: 17px; width: 16px; text-align: center;" class="Popup_BtClose"
                            <asp:LinkButton ID="lbtClose" runat="server" Style="height: 17px;" CssClass="Popup_BtClose" 
                                OnClick="btnCancel_Click">&nbsp;&nbsp;&nbsp;&nbsp;</asp:LinkButton></div
                    </td> 
                </tr> 
            </table> 
            <table border="0" class="Popup_Content" cellpadding="0" cellspacing="0" width="100%"
                <tr> 
                    <td align="center"
                            <telerik:RadEditor ID="txtSignature" runat="server" BackColor="White" CssClass="qsfClear" 
                                EnableResize="False" Skin="Outlook" ToolsFile="~/Controls/RadEditorTools.xml" 
                                Width="100%" Height="400px"
                                <Content></Content
                            </telerik:RadEditor> 
                    </td> 
                </tr> 
                <tr> 
                    <td style="padding-right: 3px;"
                        <asp:CheckBox ID="chkUse" runat="server" Text="Use as default" /></td
                </tr> 
                <tr> 
                    <td align="center" style="padding-top: 3px; padding-bottom: 3px"
                        <asp:Button ID="btnSaveSign" runat="server" Text="OK" OnClick="btnSaveSign_Click" 
                            ValidationGroup="Signature" CssClass="Control_Button0" EnableViewState="False" /> 
                        <asp:Button ID="btnCancelSign" runat="server" Text="Cancel" CssClass="Control_Button0" EnableViewState="False" /></td
                </tr> 
            </table> 
        </asp:Panel> 
        <div id="divSignature" runat="server"
        </div> 
        <ajax:ModalPopupExtender ID="mdpSignature" runat="server" TargetControlID="divSignature" 
            CancelControlID="btnCancelSign" PopupControlID="pnlSignatureUpdate" BackgroundCssClass="ModalPopupBackground"
        </ajax:ModalPopupExtender> 
    </ContentTemplate> 
    <Triggers> 
        <asp:AsyncPostBackTrigger ControlID="lbtChangeSignature" EventName="Click" /> 
    </Triggers> 
</asp:UpdatePanel> 
protected void lbtChangeSignature_Click(object sender, EventArgs e) 
    { 
        Data objData = new Data(); 
        try 
        { 
            objData.Connect(); 
            objData.CreateNewStoredProceder("Profile_User_DefinitionInfor_GetSignature"); 
            objData.SqlCommand.Parameters.AddWithValue("@Username", User.strUsername); 
            DataTable dt = objData.ExcuteStoredProcedureToDataTable(); 
            if (dt != null && dt.Rows.Count > 0) 
            { 
                txtSignature.Content = dt.Rows[0]["Signature"].ToString(); 
                chkUse.Checked = Convert.ToBoolean(dt.Rows[0]["IsSignatureUsed"].ToString()); 
            } 
        } 
        catch (Exception objEx) 
        { 
            new SystemMessage("", "", "MD_Reports/Reports.ascx/lbtChangeSignature_Click() <BR />" + objEx.Message).MailToSystem(); 
        } 
        finally 
        { 
            objData.DeConnect(); 
            mdpSignature.Show(); 
        } 
    } 
protected void btnSaveSign_Click(object sender, EventArgs e) 
    {         
        Data objData = new Data(); 
        try 
        { 
            objData.Connect(); 
            objData.CreateNewStoredProceder("Profile_User_DefinitionInfor_UpdateSignature"); 
            objData.SqlCommand.Parameters.AddWithValue("@Username", User.strUsername); 
>>>>>>>>>   objData.SqlCommand.Parameters.AddWithValue("@Signature", txtSignature.Content.Trim()); (**********)
            objData.SqlCommand.Parameters.AddWithValue("@IsSignatureUsed", chkUse.Checked); 
            objData.SqlCommand.ExecuteNonQuery(); 
        } 
        catch (Exception objEx) 
        { 
            new SystemMessage("MD_Reports/Reports.ascx/lbtChangeSignature_Click()", "", "MD_Reports/Reports.ascx/lbtChangeSignature_Click() <BR />" + objEx.ToString()).MailToSystem(); 
        } 
        finally 
        { 
            objData.DeConnect(); 
            mdpSignature.Hide(); 
        } 
    }


In IE 7 and 8, it run normally, but, in Firefox, the marked code (start with >>>>>>>>>), txtSignature always the previous input at show modal popup instead the current text display on RadEditor.

I think this is a bug for Telerik.
Please help me fix this.

Best regard,
Lini
Telerik team
 answered on 03 Sep 2009
1 answer
173 views
I'm binded the result of a wcf service call to a grid on the client side. All good. I'm also trying to put tooltips on various columns in the grid (also clientside). Putting the tooltips on isn't the problem. The problem starts when I go to page 2. The tooltip IDs for page 1 still exist and so the tooltip breaks. So question is how do you remove the tooltips from the tooltipmanager on the clientside. I've seen the way to so this on the server side i.e. RadToolTipManager1.TargetControls.Clear(); But there doesn't seem to be an equivalent on the client side.
Any help would be appreciated.
Thanks
Rumen
Telerik team
 answered on 03 Sep 2009
2 answers
113 views
Hi,

I want to disable the edit,delete,drag(move appointment) in some situations based on user authenication.Aim is to prevent the update.

please tell me how to disable the drag for particular appointment?

i know that there is client side functionality available.but i need to disable in server side because i have some validation.

Thanks for your help

Dhana.
Peter
Telerik team
 answered on 03 Sep 2009
5 answers
172 views
Hi

My Schedule is currently showing data from a database in the appointment section. This data contains HTML, but the tags are being shown and are not being rendered as HTML. Is there a HTMLEncode equivalent like bound colunms on Rad / data grids.

This is what is displayed:QEH <br/> BWH <br/> DCC
This is the view source:QEH &lt;br/&gt; BWH &lt;br/&gt; DCC
This is what I want:
QEH
BWH
DCC

Or is there another way to achieve this.

Andy
Andy Green
Top achievements
Rank 1
 answered on 03 Sep 2009
17 answers
204 views
Hello,

With my RadTabStrip, I have a PageView associated (PageViewID = ID) with some of my tabs.  I set_selected during the OnClientMouseOver event.  Not all tabs have a PageView.  Therefore, set_selected(-1) when there is no PageView.  This all works fine except that once a PageView has been selected it stays visible even after the user has moved away from the tabstrip and the PageView.

I tried using OnClientMouseOut to set_selected(-1).  But, that causes the wanted PageView to disappear when the user navigates from the current tab to the PageView below the tab.

Is there a way to either change set_selected(-1) after a period of time, displaying the PageView temporarily, or some other method of keeping the PageView active until the user has navigated completely away from the RadTabStrip and the PageView?

Any guidance would be greatly appreciated.

Thank you,

Doug
Doug
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
105 views
This is a good one which came back to me from QA.
It is admittably a bizarre user behavior, but if you do it, it can knock out the whole page with nothing to do but refresh and start over.

So I have 8 or so of these on one page inside a multipage panel.  I know it's a bit of overkill. but an Admin can set various custom messages throught out the site and we want to support easy html rendering. which works great !!!

Here is the odd behavior (user and editor)

If you try resize the window to the maximum size and  drag your mouse over the scrollbar or completely off the screen,
the editor locks in place against the scrollbar and it overlays the other editors so you can't see them.

I can grab the corner, but the editor will only move up !
If a try to bring it down in size and move  back to the left  i can't.

I have tried putting them in panels and playing with the widths of the multipage.
Any other suggestions ?

Is there a way to set a maximum width which a  user can resize the window  ?


Thank You


***** Addendum -  here are screenshots to hopefully make this more clear
screen 1
screen 2

And,  it happens if you scroll down over  the task bar also.












David
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
153 views
Hello,

I have an application that uses multiple instances of the RadTimePicker control and I am attempting to find a way to group time pickers together so that I can sum the values of the group when the time is selected on a particular control.  I arrange these groups as 'cells' on the page that have the following structure:

<asp:Panel ID="CellContainer" runat="server" CssClass="TimesheetCell">  
      
    <asp:Label ID="lblCellDate" runat="server" Visible="false" /> 
      
    <telerik:RadTimePicker ID="rtpPunchInTime" runat="server" MinDate="1/1/1900" 
        TimePopupButton-Visible="false" ClientEvents-OnDateSelected="OnDateSelected" 
        Width="100%" CssClass="TimeField">   
    </telerik:RadTimePicker> 
    <telerik:RadTimePicker ID="rtpPunchOutTime" runat="server" MinDate="1/1/1900" 
        TimePopupButton-Visible="false" ClientEvents-OnDateSelected="OnDateSelected" 
        Width="100%" CssClass="TimeField">  
    </telerik:RadTimePicker> 
    <asp:DropDownList ID="ddlLunchTime" runat="server" Width="100%" CssClass="TimeField">  
        <asp:ListItem Text="0 mins" Value="0" /> 
        <asp:ListItem Text="30 mins" Value="0.5" /> 
        <asp:ListItem Text="45 mins" Value="0.75" /> 
        <asp:ListItem Text="1 hour" Value="1" /> 
    </asp:DropDownList><br /> 
    <asp:DropDownList ID="ddlDinnerTime" runat="server" Width="100%" CssClass="TimeField">  
        <asp:ListItem Text="0 mins" Value="0" /> 
        <asp:ListItem Text="30 mins" Value="0.5" /> 
        <asp:ListItem Text="45 mins" Value="0.75" /> 
        <asp:ListItem Text="1 hour" Value="1" /> 
    </asp:DropDownList><br />      
    <telerik:RadTextBox ID="txtTimeTotal" runat="server" Width="100%" Enabled="false" Text="0:00" CssClass="CellTotal" /><br /> 
      
</asp:Panel> 

Since the ClientEvents-OnDateSelected event requires an event handler function I am only able to use (sender, args) as my parameters for my OnDateSelected.  Within this function I am able to access the id and the client-object of the control that called it, however I'm a bit stuck on figuring out the best way to access the remaining control values in order to sum these values and populate the txtTimeTotal control at the bottom of the cell.  I'm using jQuery as a possible solution, and here is what my OnDateSelected function looks like so far:

function OnDateSelected(sender, args) {  
      
    // Get a collection of all the Time Fields in the active cell  
    var TimeFields = $("#" + sender.get_id()).parent().parent().children('.TimeField');  
      
    // Loop through the collection and get the values from each field.  
    for (var i = 0; i < TimeFields.length; i++) {  
        alert($(TimeFields.get(i)).attr('id'));  
    }  
      

Right now all I'm doing is pumping out the id's of the selected controls, but the ClientId's returned from the timepicker are that of the outside wrapper div.  The dropdown lists return the expected ClientID's, and I have the client object for the active control in args, so all that's really left for me to figure out is how to properly access the client object for the other TimePicker control (e.g, If a user selects rtpPunchInTime then I need to get rtpPunchOutTime and vice-versia). 

Can you suggest a method that will allow me to access the other TimePicker's object without having to use some funky workaround?

Thanks
Glenn Boothe
Top achievements
Rank 1
 answered on 03 Sep 2009
3 answers
95 views

Hi,

    I have a GridHyperLinkColumn which I set dynamically in the ItemDataBound event.  In some cases (based on a boolean value in the underlying business object) the Hyperlinks navigateURL will not be set at all.  On these cases I'd like the value to not appear as a hyperlink (not in blue or underlined).  Do I need to change to a different column type?  What would the code look like for that?

Thanks,
-Mike

Mike Kacos
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
199 views
I am almost done with a nice project but get stuck on 2 things:

1. The toolbar doesnt reach the full height of the screen
2. The grid get to wide so we get unwanted scrollbars

Can somebody have a look at my file?

[code]

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="BIS ID Content Runner for the Web " %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

 

<head id="Head1" runat="server">

 

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

<style type="text/css">

 

 

html, body, form

 

{

 

margin:0px;

 

 

padding:0px;

 

 

height:100%;

 

 

background-image: url(Skins/Default/Common/Default_Top.jpg);

 

 

background-repeat: repeat-x;

 

}

 

</style>

 

 

<link rel="stylesheet" type="text/css" href="/css/bis.css">

 

 

 

 

<script type="text/javascript">

 

 

var ArchiveShowing = ("<%= myCR.ArchiveShowing %>" == "True");

 

 

var OriginalShowing = ("<%= myCR.OriginalShowing %>" == "True");

 

 

</script>

 

 

 

<script type="text/javascript">

 

 

function ShowProfileForm() {

 

window.radopen(

"/Forms/Profile.aspx", "winProfile");

 

 

return false;

 

}

 

 

</script>

 

 

 

<script type="text/javascript">

 

 

function ShowInsertForm(id) {

 

window.radopen(

"/Forms/EditRecord.aspx", "insertForm");

 

 

return false;

 

}

 

 

</script>

 

 

<script type="text/javascript">

 

 

function ShowEditForm(id) {

 

window.radopen(

"/Forms/EditRecord.aspx?ID=" + id, "editForm");

 

 

return false;

 

}

 

</script>

 

 

<script type="text/javascript">

 

 

function ShowHelpForm() {

 

window.radopen(

"Forms/Help.aspx", "winHelp");

 

 

return false;

 

}

 

</script>

 

 

<script type="text/javascript">

 

 

function ShowAboutForm() {

 

window.radopen(

"Forms/About.aspx", "winAbout");

 

 

return false;

 

}

 

</script>

 

 

<script type="text/javascript">

 

 

 

function RefreshGrid() {

 

 

var masterTable = $find("<%= grMain.ClientID %>").get_masterTableView();

 

masterTable.rebind();

}

 

</script>

 

 

<script type="text/javascript">

 

 

function RowSelected(sender, args) {

 

 

var toolBar = $find("<%=tbMain.ClientID %>");

 

 

var grid = $find("grMain");

 

 

var MasterTable = grid.get_masterTableView();

 

 

var SelectedRows = MasterTable.get_selectedItems();

 

 

if (SelectedRows.length > 1) toolBar.findItemByValue("tbWijzig").disable();

 

 

if (SelectedRows.length < 1) toolBar.findItemByValue("tbWijzig").disable();

 

 

if (SelectedRows.length == 1) toolBar.findItemByValue("tbWijzig").enable();

 

toolBar.findItemByValue(

"tbVerwijder").enable();

 

 

if (SelectedRows.length < 1) toolBar.findItemByValue("tbVerwijder").disable()

 

 

if (ArchiveShowing) {

 

toolBar.findItemByValue(

"tbNaarArch").disable();

 

 

if (SelectedRows.length > 0)

 

toolBar.findItemByValue(

"tbNaarOrg").enable();

 

 

if (SelectedRows.length < 1)

 

toolBar.findItemByValue(

"tbNaarOrg").disable();

 

 

}

 

if (OriginalShowing) {

 

toolBar.findItemByValue(

"tbNaarOrg").disable();

 

 

if (SelectedRows.length > 0)

 

toolBar.findItemByValue(

"tbNaarArch").enable();

 

 

if (SelectedRows.length < 1)

 

toolBar.findItemByValue(

"tbNaarArch").disable();

 

 

}

}

 

 

</script>

 

 

</telerik:RadCodeBlock>

 

 

 

</head>

 

 

 

<body class="BODY">

 

 

<form id="FormMain" method="post" runat="server">

 

 

<telerik:RadScriptManager

 

 

ID="ScriptManager"

 

 

runat="server"

 

 

EnableTheming="True">

 

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadAjaxManager

 

 

ID="amMain"

 

 

runat="server" onajaxrequest="amMain_AjaxRequest">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="amMain">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="tbMain" />

 

 

<telerik:AjaxUpdatedControl ControlID="lblKop" />

 

 

<telerik:AjaxUpdatedControl ControlID="grMain" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="tbMain">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="tbMain" />

 

 

<telerik:AjaxUpdatedControl ControlID="lblKop" />

 

 

<telerik:AjaxUpdatedControl ControlID="grMain" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="grMain">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="tbMain"/>

 

 

<telerik:AjaxUpdatedControl ControlID="lblKop" />

 

 

<telerik:AjaxUpdatedControl ControlID="grMain" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

 

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"></telerik:RadStyleSheetManager>

 

 

 

<asp:SqlDataSource

 

 

ID="dsPanelbar"

 

 

runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:ContentRunner %>"

 

 

SelectCommand="SELECT * FROM [q_navbarweb]"

 

 

onselecting="dsPanelbar_Selecting">

 

 

</asp:SqlDataSource>

 

 

 

<asp:SqlDataSource

 

 

ID="dsGrid"

 

 

runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:ContentRunner %>"

 

 

oninit="dsGrid_Init"

 

 

SelectCommand="SELECT * FROM [t_bezoekers]">

 

 

</asp:SqlDataSource>

 

 

 

<div width="100%" border="0px" class=workplace>

 

 

<telerik:RadToolBar

 

 

ID="tbMain"

 

 

style="clear:both"

 

 

Runat="server"

 

 

Width="100%"

 

 

BorderStyle="None"

 

 

BorderWidth="0px"

 

 

onbuttonclick="tbMain_ButtonClick"

 

 

Font-Bold="True"

 

 

Font-Names="Trebuchet MS" Font-Size="12pt">

 

 

<CollapseAnimation

 

 

Type="OutQuint"

 

 

Duration="200">

 

 

</CollapseAnimation>

 

 

<Items>

 

 

<telerik:RadToolBarButton runat="server" value="tbProfiel" Text="Hallo, Gebruiker" CommandName="cmdProfiel"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" Text="sep1" IsSeparator="True"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbNieuw" Text="Nieuw" CommandName="cmdNieuw"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbWijzig" Text="Wijzig" CommandName="cmdWijzig"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbVerwijder" Text="Verwijder" CommandName="cmdVerwijder"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" Text="sep2" IsSeparator="True"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbNaarOrg" Text="Naar Origineel" CommandName="cmdNaarOrg"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbNaarArch" Text="Naar Archief" CommandName="cmdNaarArch"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" IsSeparator="True" Text="sep3"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbShowOrg" Text="Toon Orginelen" CommandName="cmdToonOrg"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbShowArch" Text="Toon Archief" CommandName="cmdToonArch"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" Text="sep4" IsSeparator="True"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbLogUit" Text="Log uit" CommandName="cmdLogUit"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbHelp" Text="Help" CommandName="cmdHelp"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" value="tbAbout" Text="About" CommandName="cmdAbout"></telerik:RadToolBarButton>

 

 

</Items>

 

 

</telerik:RadToolBar><div style="clear:both"><!-- --></div>

 

 

 

</div>

 

 

<div class=workplace>

 

 

 

<telerik:radsplitter

 

 

id="splMain"

 

 

runat="server"

 

 

height="100%"

 

 

width="100%"

 

 

Skin="Office2007"

 

 

style="clear:both"

 

 

HeightOffset="30">

 

 

<telerik:radpane

 

 

id="LeftPane"

 

 

runat="server"

 

 

width="212">

 

 

<telerik:RadPanelBar

 

 

style="clear:left"

 

 

ID="pbMain"

 

 

Runat="server"

 

 

DataFieldID="ID"

 

 

DataFieldParentID="ParentID"

 

 

DataSourceID="dsPanelbar"

 

 

DataTextField="Text"

 

 

onitemdatabound="pbMain_ItemDataBound"

 

 

width="100%"

 

 

Skin="Outlook"

 

 

CookieName="ContentRunnerPanelBar"

 

 

ExpandMode="FullExpandedItem"

 

 

PersistStateInCookie="True"

 

 

CollapseDelay="200" ExpandDelay="200" onitemclick="pbMain_ItemClick">

 

 

<CollapseAnimation

 

 

Duration="220"

 

 

Type="InOutElastic" />

 

 

<ExpandAnimation

 

 

Duration="220"

 

 

Type="InOutElastic" />

 

 

</telerik:RadPanelBar><div style="clear:both"><!-- --></div>

 

 

</telerik:radpane>

 

 

<telerik:radsplitbar id="RadSplitBar1" runat="server" style="clear:both"></telerik:radsplitbar>

 

 

<telerik:radpane id="MainPane" runat="server" style="clear:both">

 

 

<telerik:RadAjaxPanel

 

 

BackImageUrl="~/Common/Images/AppMain/AppMainToolbarBackGround.jpg"

 

 

style="clear:both"

 

 

ID="apMain"

 

 

runat="server"

 

 

height="32px"

 

 

width="100%">

 

 

<asp:Panel

 

 

ID="Panel3"

 

 

runat="server"

 

 

Height="33px"

 

 

Width="100%"

 

 

BackImageUrl="~/Common/Images/AppMain/AppMainToolbarBackGround3.jpg" CssClass="GridAltRow_Outlook">

 

 

 

 

<asp:Panel

 

 

ID="Panel1"

 

 

runat="server"

 

 

Height="4px"

 

 

Width="100%">

 

 

</asp:Panel>

 

 

 

 

 

<asp:Label

 

 

ID="lblKop"

 

 

runat="server"

 

 

BorderStyle="None"

 

 

BorderWidth="6px"

 

 

Font-Names="Trebuchet MS"

 

 

Font-Size="Medium"

 

 

Text="&amp;nbsp;&amp;nbsp;::BIS ID Content Runner"></asp:Label>

 

 

</asp:Panel>

 

 

</telerik:RadAjaxPanel>

 

 

 

<telerik:RadGrid

 

 

ID="grMain"

 

 

runat="server"

 

 

AllowFilteringByColumn="True"

 

 

AllowPaging="True"

 

 

AllowSorting="True"

 

 

DataSourceID="dsGrid"

 

 

GridLines="None"

 

 

Height="99%"

 

 

Skin="Outlook"

 

 

Width="99%"

 

 

onitemcommand="grMain_ItemCommand"

 

 

onneeddatasource="grMain_NeedDataSource"

 

 

oncolumncreated="grMain_ColumnCreated"

 

 

AllowAutomaticDeletes="True"

 

 

AllowAutomaticInserts="True"

 

 

AllowAutomaticUpdates="True"

 

 

AllowCustomPaging="True"

 

 

onitemdatabound="grMain_ItemDataBound"

 

 

onprerender="grMain_PreRender"

 

 

ShowFooter="True"

 

 

ShowStatusBar="True" PageSize="100" VirtualItemCount="10"

 

 

AllowMultiRowSelection="True"

 

 

onselectedindexchanged="grMain_SelectedIndexChanged">

 

 

<PagerStyle AlwaysVisible="True" EnableSEOPaging="True" />

 

 

<MasterTableView

 

 

DataSourceID="dsGrid"

 

 

allowcustomsorting="True"

 

 

datakeynames="ID"

 

 

CommandItemDisplay="Top">

 

 

<RowIndicatorColumn Visible="False">

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn Resizable="False" Visible="False">

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

 

<CommandItemTemplate>

 

 

<img src="Skins/Outlook/Grid/AddRecord.gif" /><a href="#" onclick="return ShowInsertForm();">Nieuw</a>

 

 

<img src="Skins/Outlook/Grid/AddRecord.gif" /><a href="#" onclick="return RefreshGrid(1);">Ververs tabel</a>

 

 

</CommandItemTemplate>

 

 

<Columns>

 

 

<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />

 

 

<telerik:GridButtonColumn

 

 

ButtonType="LinkButton"

 

 

CommandArgument="{0}"

 

 

CommandName="MyEdit"

 

 

HeaderText=""

 

 

Text="Wijzig"

 

 

UniqueName="colEdit">

 

 

</telerik:GridButtonColumn>

 

 

 

<telerik:GridButtonColumn

 

 

ButtonType="LinkButton"

 

 

CommandArgument="{0}"

 

 

CommandName="MyDelete"

 

 

ConfirmText="Wilt u deze regel verwijderen?"

 

 

HeaderText=""

 

 

Text="Verwijder"

 

 

UniqueName="colDelete">

 

 

</telerik:GridButtonColumn>

 

 

</Columns>

 

 

<EditFormSettings>

 

 

<PopUpSettings ScrollBars="None" />

 

 

</EditFormSettings>

 

 

</MasterTableView>

 

 

<ClientSettings

 

 

allowkeyboardnavigation="True">

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

<FilterMenu EnableTheming="True" Skin="Outlook">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 

 

<br />

 

 

</telerik:radpane>

 

 

</telerik:radsplitter>

 

 

<telerik:RadWindowManager

 

 

ID="wmMain"

 

 

runat="server"

 

 

Skin="Default"

 

 

Height="500px"

 

 

Left="50px"

 

 

oninit="wmMain_Init"

 

 

Top="50px"

 

 

Width="700px">

 

 

<Windows>

 

 

<telerik:RadWindow

 

 

ID="winEdit"

 

 

runat="server"

 

 

Height="500px"

 

 

Left="100px"

 

 

NavigateUrl="Forms\EditRecord.aspx"

 

 

style="display:none;"

 

 

Top="100px"

 

 

Width="700px"

 

 

Modal="True"

 

 

Behaviors="Close" BorderWidth="0px">

 

 

</telerik:RadWindow>

 

 

 

<telerik:RadWindow

 

 

ID="winProfile"

 

 

runat="server"

 

 

Left="100px"

 

 

NavigateUrl="Forms\Profile.aspx"

 

 

style="display:none;"

 

 

Top="100px"

 

 

width="400"

 

 

height="256"

 

 

Title="Profile"

 

 

Behaviors="Move"

 

 

Modal="True"

 

 

VisibleStatusbar="False">

 

 

</telerik:RadWindow>

 

 

 

<telerik:RadWindow

 

 

ID="winHelp"

 

 

runat="server"

 

 

Left="100px"

 

 

NavigateUrl="Forms\Help.aspx"

 

 

style="display:none;"

 

 

Top="100px"

 

 

width="400"

 

 

height="256"

 

 

Title="help"

 

 

Behaviors="Close"

 

 

Modal="True"

 

 

VisibleStatusbar="False" Behavior="Close">

 

 

</telerik:RadWindow>

 

 

<telerik:RadWindow

 

 

ID="winAbout"

 

 

runat="server"

 

 

Left="100px"

 

 

NavigateUrl="Forms/About.aspx"

 

 

style="display:none;"

 

 

Top="100px"

 

 

width="400"

 

 

height="256"

 

 

Title="help"

 

 

Behaviors="Close"

 

 

Modal="True"

 

 

VisibleStatusbar="False" Behavior="Close">

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

 

</form>

 

</

 

body>

 

</

 

html>

 


[/code]
Willem
Top achievements
Rank 1
 answered on 03 Sep 2009
4 answers
94 views
Hi there,

I'm having a bit of a problem with the RadCalendar. Apparently, for some people (few... but still) it seems that the calendar turns up with the same day appearing 2 times. Example: October 2009 is showing the 17th day twice... both on Saturday (which is right) and on the day after (Sunday). This means that this month is actually showing 32 days (the 17th two times) ending up with the 31st day on a Sunday instead of Saturday as it was supposed!!!

Has anyone had this problem before?

Thanks in advance,
César
Pavlina
Telerik team
 answered on 03 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?