I'm not very tech savvy, so please bear with me.
I'm currently hotspotting images with links to other pages on my site (like hotspotting maps with areas of interest), and I was wondering if the Image Gallery could support hotspotted HTML?
Thanks for any help.
I have two rad combo boxes on my web page radcombo1 and radcombo2, when I select the radcombo1 the page reload is happening. I dont want page reload to happen I want the radcombo to show the values. i.e radcombo2 values are based on the selection of radcombo1. and also to select radcombo2 before that radcombo1 should be selected. Here i tried to implement this using the radajaxmanager. But still the page load is happening. Need help.
testradcombo.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="testradcombo.aspx.cs" Inherits="testradcombo" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadComboBox1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadComboBox1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="RadComboBox2" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="true">
<Items>
<telerik:RadComboBoxItem runat="server" Text="Informational" Value="5" />
<telerik:RadComboBoxItem runat="server" Text="Enhancement" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="Maintenance" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="Problem" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="Outage" Value="1" />
</Items>
</telerik:RadComboBox>
<telerik:RadComboBox ID="RadComboBox2" runat="server">
<Items>
<telerik:RadComboBoxItem runat="server" Text="Infor" Value="5" />
<telerik:RadComboBoxItem runat="server" Text="Enha" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="Main" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="Prob" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="Outa" Value="1" />
</Items>
</telerik:RadComboBox>
</div>
</form>
</body>
</html>
code behind: testradcombo.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class testradcombo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
RadComboBox2.Visible = false;
}
}
}
Hi,
Now I am looking into this demo
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/commanditem/defaultcs.aspx
I found when I input more than one white spaces in the edit box, they are truncated to one when I saved the new record.
Is it an expected behavior?
Best regards
Zhang Rui
I upgraded to v2015.07.623.45 and noticed when using the Raddock in the Scheduler the RadDateTimePicker breaks. What changes in this release may have caused this?
See attached.
Hi,
In Surface device on edge browser , If I go to http://demos.telerik.com/aspnet-ajax/menu/examples/multicolumnmenu/defaultcs.aspx and touch the demo menu which is having sub menu, it is opening and when I touch non menu area the expanded sub menu is not collapsing.
This menu is working in IE 11 and other IE versions but not in Edge browser (OS -Windows 10).
I have used Rad menu Silkskin for my project , in the project also expanded sub menu is not collapsing when I touch non menu area in Edge browser but for other browsers in other touch devices it is working as expected.
Is it Edge browser issue or any additional update that I have to apply?
Regards,
Thurai
Hi,
I have created a custom user control and I am using that on my webform using ajaxToolkit:ModalPopupExtender to open as a popup on a button click. On this popup window I have added two radcombo boxes and I want on selection of one rad combo box other should give corresponding selection (like radcombo1 has groups and radcombo2 has users, on selection of a group or groups in radcombo1 then corresponding users should be coming up in the radcombo2). The main problem here is when I set autopostback true for radcomb1 one the entire webpage is getting reloaded, closing the popup window(custom control), then again I have to click the button to open the popup. I tried to use radajaxmanager to solve the issue but i couldnt solve the issue.I would request you to give me any sample example for better understanding.
Here I have create a custom control UC.ascx and I am calling this custom control on CS.aspx using ajaxToolkit:ModalPopupExtender, I have put the rad combo boxes on UC.ascx.
Hi,
I'm having trouble viewing the bubble chart I developed which has bubbles that overlay. I am trying to find a way to scale these bubbles for better viewing (which can be done in excel bubble charts). Please suggest if there is any solution for this.
Thanks
MT
Hello Team,
Recently we have upgrade the telerik dll to 2015 version. after upgrade Rad grid edit is not working properly. the edit pop up is disabled not able to edit or close the popup. i have attached the screen shots and the aspx code. please help to solve the issue. Grid id is :- ID="dgScenarioLineGrid"
<telerik:RadGrid ID="dgScenarioLineGrid" runat="server" Skin="Office2010Silver" AllowPaging="false"
AllowSorting="false" GridLines="Vertical" OnItemCommand="dgScenarioLineGrid_ItemCommand"
OnItemDataBound="dgScenarioLineGrid_ItemDataBound">
<MasterTableView EditMode="PopUp" HorizontalAlign="NotSet" CommandItemDisplay="top"
CommandItemSettings-AddNewRecordText="Add New Scenario Line" AutoGenerateColumns="False"
CellPadding="1" DataKeyNames="SCL_ID">
<Columns>
<telerik:GridTemplateColumn HeaderStyle-Width="100px" UniqueName="CommandButtons"
HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:ImageButton runat="server" ID="ImgEdit" CommandName="Edit" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/edit.png" ToolTip="Edit Scenario Line" />
<asp:ImageButton runat="server" ID="ImgDelete" CommandName="Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/delete.gif" ToolTip="Delete Scenario Line" />
<asp:ImageButton runat="server" ID="ImgSplit" CommandName="SPLIT" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/picto_cut16.gif" Width="15px" ToolTip="Split Scenario Line" />
</ItemTemplate>
<ItemStyle CssClass="MyImageButton" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Analytical Nature" HeaderStyle-Width="200px"
ItemStyle-Width="200px">
<ItemTemplate>
<asp:Label ID="lbl_AnalyticName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.NAT_NAME") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderStyle-Width="80px" HeaderText="From K€">
<ItemTemplate>
<asp:Label ID="lbl_AmountFrom" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTFROM", "{0:N1}") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderStyle-Width="80px" HeaderText="To K€">
<ItemTemplate>
<asp:Label ID="lbl_AmountTO" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTTO", "{0:N1}") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="gtcRHLUHD" ItemStyle-HorizontalAlign="Center"
HeaderStyle-Width="100px" HeaderText="Requester Hierarchic Line until head of dpt.">
<ItemTemplate>
<asp:Label ID="Label12" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HIERARCHIC") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Analytical Nature" Visible="False">
<EditItemTemplate>
<telerik:RadComboBox Font-Names="Arial Unicode MS" ID="cmbAnalNat" ZIndex="100001"
runat="server" ForeColor="#32327F" Width="235px" Height="200px" Skin="Outlook">
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="From K€" Visible="False" UniqueName="FromAmount">
<EditItemTemplate>
<asp:TextBox ID="txtFrom" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTFROM", "{0:N1}") %>'></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="To K€" Visible="False" UniqueName="ToAmount">
<EditItemTemplate>
<asp:TextBox ID="txtTo" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTTO", "{0:N1}") %>'></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Requester Hierarchic Line until head of dpt."
UniqueName="reqhier" Visible="False">
<EditItemTemplate>
<asp:CheckBox ID="chkreqhier" runat="server" Checked='<%# Convert.ToString(DataBinder.Eval(Container, "DataItem.HIERARCHIC"))=="X" %>' />
</EditItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings ColumnNumber="2" PopUpSettings-Modal="true" PopUpSettings-ScrollBars="Auto"
PopUpSettings-ZIndex="7001" PopUpSettings-Width="500px">
<FormTableItemStyle Wrap="False"></FormTableItemStyle>
<FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
<FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="95%" />
<FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" CssClass="module"
Height="110px" Width="95%" />
<FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
<FormStyle BackColor="#eef2ea"></FormStyle>
<EditColumn ButtonType="ImageButton" UpdateImageUrl="~/images/Save.png" EditImageUrl="images/Edit.png"
InsertImageUrl="~/images/Save.png" CancelImageUrl="~/images/Cancel.gif" InsertText="Add Scenario Line"
UpdateText="Update Scenario Line" UniqueName="EditCommandColumn1" CancelText="Cancel edit">
</EditColumn>
<FormTableButtonRowStyle HorizontalAlign="Left" VerticalAlign="Top" CssClass="EditFormButtonRow">
</FormTableButtonRowStyle>
</EditFormSettings>
</MasterTableView>
<ClientSettings>
<ClientEvents OnPopUpShowing="PopUpShowing" />
</ClientSettings>
</telerik:RadGrid>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript" id="telerikClientEvents1">
var popUp;
function PopUpShowing(sender, eventArgs) {
popUp = eventArgs.get_popUp();
var gridWidth = sender.get_element().offsetWidth;
var gridHeight = sender.get_element().offsetHeight;
var popUpWidth = popUp.style.width.substr(0, popUp.style.width.indexOf("px"));
var popUpHeight = popUp.style.height.substr(0, popUp.style.height.indexOf("px"));
popUp.style.left = ((gridWidth - popUpWidth) / 2 + sender.get_element().offsetLeft).toString() + "px";
popUp.style.top = ((gridHeight - popUpHeight) / 2 + sender.get_element().offsetTop).toString() + "px";
}
</script>
</telerik:RadCodeBlock>