Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
210 views
Dear Telerik Team,

I placed a script manager on the master page.
In the content page, I used the radwindow manager.
On clicking the Save button, i need to call the alert window for displaying the message," Data Saved successfully.."
the code doesn't work on the content page .Please help me regarding this urgently.Below is the code I have used.
**** I used vb with code-behind


Protected

 

Sub LnkSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LnkSave.Click

 

 


Dim
MyQuery As String

 

 

Dim MyCommand As sqlcommand

 

Dim scriptstring As String = "radalert('Saved Successfully', 230,110);"

 

 

 

//------------------My insert Query------------------//

 

 

  ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "radalert", scriptstring, True)
End
Sub

 



Regards,
Abdul kadar


Georgi Tunev
Telerik team
 answered on 22 Jun 2009
4 answers
443 views
When using the RadComboBox, I can begin typing and watch the list pear down.  It's very pretty. :-)  However, I have to use the "enter" key instead of the "tab" key to select the item.

It seems more intuitive to use the "tab" key to select the item and move to the next field in my form.  Is there a way to do this?  Can I attach to the OnClientKeyPressing JavaScript method to accomplish this?
Mark
Top achievements
Rank 2
 answered on 22 Jun 2009
1 answer
146 views
Hi,

I am using the RadEditor in MOSS and would like to replace the standard Link Manager with my own. I have created a toolbar button that loads my link manager, and now I need to replace the right click context menu for links with my own, or failing this remove the context menu for links.

I have updated the <contextMenus> section of the ListToolsFile.xml to add the following:

        <contextMenu forElement="A">  
            <tool name="MyLinkManager"/>  
        </contextMenu> 

however this seems to have no effect and the standard context link menu is displayed. Trying to remove the context menu entirely also seems to have no effect.

<contextMenu forElement="A" enabled="false">  
</contextMenu> 

Amendments to the <tools> section does work so I know I am editing the correct file

I have RadEditor version 5.0.0

Thanks
Stanimir
Telerik team
 answered on 22 Jun 2009
3 answers
121 views
Hi,

Since I updated from the Q3 2008 SP1 to the Q1 2009, my RadConfirm dialogs don't work anymore. The buttons don't appear, there is written "Yes No" underlined (like LinkButtons) but when I clicked it doesn't do anything. I try several skins (Office2007 is my normal skin) but the problem is still there. Is this a known issue ? Do you have an idea of what the problem is ? If I use ConfirmDialogType="Normal", there is no problem.

Thanks in advance,

[Nean]
Georgi Tunev
Telerik team
 answered on 22 Jun 2009
1 answer
58 views
Hi,

I have created a usercontrol with rad controls to dynamically create menus.
In My home page i have plased the user control and on clicking the menus inside the usercontrol, i would have the display the approprieate aspx page in the RadPane in the home page.
Pls. Suggest me how to do this. Share some code samples if possible

Thanks
Paul
Telerik team
 answered on 22 Jun 2009
1 answer
93 views
 

Hi Telerik Team,

I'm using telerik Version=2008.1.415.35

I'm encountering this exception while using filter template to filter out the grid data based on selected date.

Parser Error Message: Type 'Telerik.Web.UI.GridBoundColumn' does not have a public property named 'FilterTemplate'.

<%@RegisterAssembly="Telerik.Web.UI,Version=2008.1.415.35,Culture=neutral,PublicKeyToken=121fae78165ba3d4"Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<head runat="server">

<telerik:radscriptblock id="RadScriptBlock2" runat="server">

<script type="text/javascript">

function DateSelected(sender,args)

{

var tableView = $find("<%=gdFilesReport.OwnerTableView.ClientID %>");

var date = FormatSelectedDate(sender);

tableView.filter("File_Received_Date", date, "EqualTo");

}

function FormatSelectedDate(picker)

{

var date = picker.get_selectedDate();

var dateInput = picker.get_dateInput();

var formattedDate = dateInput.get_dateFormatInfo().FormatDate(date, dateInput.get_displayDateFormat());

return formattedDate;

}

</script>

</telerik:radscriptblock>

</head>

<telerik:GridBoundColumn UniqueName="FILE_NAME" DataField="FILE_NAME" HeaderText="File Name" allowfiltering="False">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="File_Received_Date" DataField="File_Received_Date" HeaderText="File Received Date"

HeaderStyle-Width="100px">

<FilterTemplate>

<telerik:RadDatePicker ID="Received_Date" runat="server" Width="100px" DbSelectedDate='<%# SetFileReceivedDate(Container)%>'

ClientEvents-OnDateSelected="DateSelected"/>

</FilterTemplate>

Protected Function SetFileReceivedDate(ByVal container As GridItem) As System.Nullable(Of DateTime)

If container.OwnerTableView.GetColumn("File_Received_Date").CurrentFilterValue = String.Empty Then

Return New System.Nullable(Of DateTime)()

Else

Return DateTime.Parse(container.OwnerTableView.GetColumn("File_Received_Date").CurrentFilterValue)

End If

End Function

Can any one help me out to fix this issue.

Thanks

Nikolay Rusev
Telerik team
 answered on 22 Jun 2009
1 answer
167 views
I have a simple menu using custom CSS. I am trying to center the menu text and it works for the sub menu items but not the top menu item. Please tell me what I am doing wrong:

<td colspan="5" align="center" valign="top"><table width="100%" height="51" border="0" cellpadding="0" cellspacing="5">
          <tr>
            <td width="20%" height="33" align="center" bgcolor="#002C77">
            <%--Welcome--%>
            <div id="WhiteLink3">
                        <telerik:RadMenu ID="RadMenu2" runat="server" Width="100%" Flow="Vertical" Skin="" style="font-size: 12pt; font-family: verdana; background-color:transparent; text-align:center !Important;"
                             EnableEmbeddedSkins="False">
                            <CollapseAnimation Duration="400" Type="InCubic"/>
                            <Items>
                                <telerik:RadMenuItem runat="server" Text="Welcome" BackColor="Transparent" CssClass="top_heading">
                                    <GroupSettings ExpandDirection="Down"/>
                                    <Items>
                                        <telerik:RadMenuItem runat="server" Text="About WABF" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding_TopItem" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Welcome From The Dean" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Welcome From The Co-Chairs" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Sponsors" backcolor="#F2F2F2" Font-Size="8pt" FocusedCssClass="" Width="140px" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Contact Us" backcolor="#F2F2F2" Font-Size="8pt" FocusedCssClass="" Width="140px" ForeColor="Black" CssClass="RadSubMenu_Padding_BottomItem" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                    </div>
            </td>

CSS:
.RadMenu_DefaultSkin
    {
       font: bold 12px verdana;
       color:white;
    }
    
    .RadMenu_Padding
    {
        padding:10px;
        text-align: left;
        background-color:Transparent;
        color: White;
        font-family: Verdana;
    }
    .RadSubMenu_Padding
    {
        padding: 6px 8px 6px 8px;
        text-align: left;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #F9AE7C;
        border-bottom: 1px outset #999999;
        font-family: Verdana;
        white-space: normal;
    }
    .RadSubMenu_Padding_TopItem
    {
        padding: 6px 8px 6px 8px;
        text-align: center;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #444444;
        border-bottom: 1px outset #F9AE7C;
        font-family: Verdana;
        text-decoration: none;
        white-space: normal;
    }
    .RadSubMenu_Padding_BottomItem
    {
        padding: 6px 8px 6px 8px;
        text-align: left;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #F9AE7C;
        border-bottom: 1px outset #444444;
        font-family: Verdana;
        white-space: normal;
    }
    .RadSubMenu_Padding_SeparatorItem
    {
        padding:0px;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 0px;
        border-bottom: 0px;
    }
    .RadSubMenu_Padding:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
    .RadSubMenu_Padding_TopItem:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
    .RadSubMenu_Padding_BottomItem:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
#WhiteLink3 A:LINK {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:VISITED {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:HOVER {
        color:#991E32;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:ACTIVE {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }






Yana
Telerik team
 answered on 22 Jun 2009
1 answer
95 views
Hi,

I am facing an issue in the rad Scheduler.
I can able to book the appointments in the Rad Scheduler. When i made the single clik on the Date cell which had the appointments it redirect me to the Day view. I wan to block this day view. Always i want the month view only when any operations happend on the scheduer.

Can any one help me ragarding how i can able to perform this.

Thanks & Regards,
Sushanth Mathew
Shinu
Top achievements
Rank 2
 answered on 22 Jun 2009
1 answer
121 views
Hello,

our customer is using RAD Editor 5.2.2 for MOSS (installed as a WSP package), with translations to Spannish.

but some messages are not translated (like when mouse over),

the messages are "ColorPicker", "AlignmentSelector" (in table properties).

Is there a solution to this?

Thanks in advance.


Stanimir
Telerik team
 answered on 22 Jun 2009
1 answer
111 views
Hi ,
           i am dynamically generating dock windows and in the docks i have another user control which again dynamically generates rad color picker. whenever i am choosing a color from the rad color picker a postback is done and due to which my dock window disappears. Is there a solution to this problem. Please help ...its really needed.


Regards,
Ajit
Petko
Telerik team
 answered on 22 Jun 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?