var
E = a.document.documentElement;
Hi,
When the colorpicker is located at the bottom of a page, it always cuts off the tabs at the bottom.
Se attached image from your demo!
http://demos.telerik.com/aspnet-ajax/colorpicker/examples/overview/defaultcs.aspx
Set "With a picker button" in the demo!
Regard
Andreas
Hi,
I am trying to load a radcombobox filter as below, the sqldatasource where conditions are coming from session values - session("ssnUSER_NAME") and session("ssnUSER_ID"). //VB.net 4.5/2015Q2/Oracle
The radcombo filter is not getting populated.
What am I missing?
Also a secondary question, I want to display user name but the filter should pickup user_id="some_id". Is it possible?
Any help will be greatly apprerciated. Thanks.
<telerik:GridBoundColumn DataField="USER_NAME" HeaderText="CREATED BY"
SortExpression="USER_NAME" UniqueName="USER_NAME" ReadOnly="true">
<FilterTemplate>
<telerik:RadComboBox RenderMode="Lightweight" ID="rcbUserName" DataSourceID="SqlDataSource5" DataTextField="USER_NAME"
DataValueField="USER_NAME" Height="200px" AppendDataBoundItems="true" SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("USER_NAME").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="UserNameIndexChanged">
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlock4" runat="server">
<script type="text/javascript">
function UserNameIndexChanged(sender, args) {
var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
tableView.filter("USER_NAME", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServicesOracle %>"
ProviderName="<%$ ConnectionStrings:ApplicationServicesOracle.ProviderName %>"
SelectCommand="select distinct b.USER_NAME, b.USER_ID from tblPTS a join tblUSER_DETAILS b on a.USER_ID = b.USER_ID where (b.TEAMLEAD = :ssnUSER_NAME or a.USER_ID = :ssnUSER_ID) and (a.STATUS = 'RECEIVED' or a.STATUS = 'IN PROGRESS')">
<SelectParameters>
<asp:SessionParameter Name="ssnUSER_NAME" SessionField="ssnUSER_NAME" />
<asp:SessionParameter Name="ssnUSER_ID" SessionField="ssnUSER_ID" />
</SelectParameters>
</asp:SqlDataSource>
protected override void OnInit(EventArgs e)
{
if (!this.DesignMode)
{
//code here
}
}
Hi There,
The RadBinaryImage in our application works well until Firefox upgraded to 43.0.1. Now the problem I am facing is that the image does not show unless I click or move the mouse on the page. I also noticed this issue only happens on gif files, not on jpeg files.
Here is the scenario: two pages included in this test demo, the first page has a linkbutton to open a radwindow, the second page is the RadBinaryImage to display a image file.
The following is my test code, please help, thank you.
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadBinaryImageDefault.aspx.cs" Inherits="Default" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function ShowWindow() {
window.radopen("RadBinaryImageTest.aspx", "RadTestWindow");
return false;
}
</
script
>
</
telerik:RadCodeBlock
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
EnableShadow
=
"true"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadTestWindow"
runat
=
"server"
Title
=
"Rad Binary Image"
Height
=
"500px"
Width
=
"500px"
Left
=
"150px"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"false"
AutoSize
=
"false"
Behaviors
=
"Pin, Move, close, Resize"
Modal
=
"true"
/>
</
Windows
>
</
telerik:RadWindowManager
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"DefaultMasterScriptManager"
runat
=
"server"
>
</
asp:ScriptManager
>
<
div
>
<
asp:LinkButton
ID
=
"lbl_click"
runat
=
"server"
Text
=
'Click'
OnClientClick
=
"return ShowWindow();"
Visible
=
"true"
/>
</
div
>
</
form
>
</
body
>
</
html
>
RadBinaryImageTest.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadBinaryImageTest.aspx.cs" Inherits="RadBinaryImageTest" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
telerik:RadBinaryImage
runat
=
"server"
ID
=
"rbi_thumbnail"
AutoAdjustImageControlSize
=
"false"
/>
</
div
>
</
form
>
</
body
>
</
html
>
RadBinaryImageTest.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Drawing.Imaging;
using System.IO;
using System.Drawing;
public partial class RadBinaryImageTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
DisplayThumbnail();
}
public void DisplayThumbnail()
{
rbi_thumbnail.DataValue = ImageToBinary("../../index.gif");
}
public static byte[] ImageToBinary(string imagePath)
{
FileStream fileStream = new FileStream(imagePath, FileMode.Open, FileAccess.Read);
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer, 0, (int)fileStream.Length);
fileStream.Close();
return buffer;
}
}
My page is requesting silverlight and I cant figure out which control might be requesting this or how to disable the option
Is there a way to disable this entirely as the page runs fine without silverlight
Hi
How do I get the value of the Pager on the server, .Pagesize always returns the initial page load page size.
What I'm trying to do is capture the users selected Pagesize in save it into their profile (I don't need the full persistence framework)
Also where should I do the setting of the page size, Did I read that it was to be done in the NeedDataSource event?
Andy