Hello Telerik,
I can't seem to hide my RadDock's border no matter what. I've tried all the options below but it still shows (see attached screenshot):
In my code behind:
Dim rd As New RadDock
rd.ID = "Dock1"
rd.DockMode = DockMode.Docked
rd.DockHandle = DockHandle.None
rd.ControlStyle.BorderStyle = BorderStyle.None
rd.ControlStyle.BorderWidth = 0
rd.Resizable = False
rd.BorderStyle = BorderStyle.None
rd.BorderWidth = 0
rd.ContentContainer.BorderStyle = BorderStyle.None
rd.ContentContainer.BorderWidth = 0
In my .ASPX file:
<
style
type
=
"text/css"
>
/* Remove border on all docks */
.rdTable, .rdTop, .rdMiddle, .rdBottom
{
border-width: 0px !important;
border-style: none !important;
}
</
style
>
I'm out of ideas. Am I missing something else?
Thanks for any help.
Hi there, it seems that when the scheduler is given times that overlap on the 1/2 hour, it extends that box up until the next half hour mark. This causes the component to show appointments which "appear" to overlap, even though they do not.
Please see screen attached below
First appointment goes until 09:31, second appointment starts 09:32
However the component shows overlap (highlighted in red box), because the first appointment box has been extended up until the 10:00 half hour mark.
Is there anything that can be done about this, are there any settings which would allow for a more accurate representation of the timings?
http://i.imgur.com/XzTrRET.png
thanks.
ash
Hello,
how can i do fadeIn and fadeOut (jQuery?) RadPageView's without RadTabStrip (RadPageView has no event OnSelectedIndexChange?)
Thanks for help...
Andreas
<
telerik:RadMultiPage
runat
=
"server"
ID
=
"MultiPageShop"
SelectedIndex
=
"0"
RenderSelectedPageOnly
=
"True"
RenderMode
=
"Auto"
>
<
telerik:RadPageView
runat
=
"server"
ID
=
"PageOverview"
>
<
div
class
=
"shopWrapper"
>
<
h4
class
=
"section-title"
>Overview</
h4
>
<
uc1:ShopOverview
ID
=
"ShopOverview1"
runat
=
"server"
/>
</
div
>
</
telerik:RadPageView
>
<
telerik:RadPageView
runat
=
"server"
ID
=
"PageAddress"
>
<
div
class
=
"shopWrapper"
>
<
h4
class
=
"section-title"
>Address</
h4
>
<
uc2:ShopAddress
ID
=
"ShopAddress1"
runat
=
"server"
/>
</
div
>
</
telerik:RadPageView
>
<
telerik:RadPageView
runat
=
"server"
ID
=
"PageInvoice"
>
<
div
class
=
"shopWrapper"
>
<
h4
class
=
"section-title"
>Invoice</
h4
>
<
uc3:ShopInvoice
ID
=
"ShopInvoice1"
runat
=
"server"
/>
</
div
>
</
telerik:RadPageView
>
<
telerik:RadPageView
runat
=
"server"
ID
=
"PageFinal"
>
<
div
class
=
"shopWrapper"
>
<
h4
class
=
"section-title"
>Final</
h4
>
<
uc4:ShopFinal
ID
=
"ShopFinal1"
runat
=
"server"
/>
</
div
>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
Hello!
I am trying to get the sheduler working with a Oracle 11g database. While the select of data works great, inserting / updating produces the error:
'ORA 01006 missing bind variables'
While all examples use the @ for the prepared statements, oracle uses a ":". My Insertcommand looks like this:
InsertCommand="INSERT INTO KALENDER (KALENDER_NR, ZEITPUNKT, ZEITPUNKT_BIS, FIRMENNAME) VALUES (KALENDER_SEQ.nextval, SYSDATE, SYSDATE, :FIRMENNAME)"
while KALENDER_SEQ is the sequence for creating a unique id, SYSDATE is for the test only, :FIRMENNAME is mapped as subject and works atleast in "readingmode" => The appointments show all given information.
sqldatasourceparamters (select,insert,update):
<asp:Parameter Name="FIRMENNAME" Direction="InputOutput" Type="String" />
Sheduler:
<telerik:RadScheduler runat="server" ID="RadScheduler1" OnAppointmentCommand="RadScheduler1_AppointmentCommand" OnAppointmentInsert="RadScheduler1_OnAppointmentInsert"
Width="1250px" Height="1400px" OnFormCreated="RadScheduler1_FormCreated"
DataKeyField="KALENDER_NR" DataSubjectField="FIRMENNAME" DataStartField="ZEITPUNKT" DataEndField="ZEITPUNKT_BIS" Culture="de-DE" DataSourceID="SqlDataSource1" Skin="Bootstrap" RowHeight="30px" EnableCustomAttributeEditing="True">
<AdvancedForm EnableCustomAttributeEditing="True" ></AdvancedForm>​
...
div id="InlineInsertTemplate">
<asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("FIRMENNAME") %>' TextMode="MultiLine"></asp:TextBox>
<asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">Insert</asp:LinkButton>AdvancedEditTemplate:
<div>
<asp:Label ID="Label2" AssociatedControlID="StartInput" runat="server">Start time:</asp:Label>
<telerik:RadDateInput ID="StartInput" SelectedDate='<%# Bind("FIRMENNAME") %>' runat="server"></telerik:RadDateInput><br />
</div>​...
I have tried many things, as @ ? for the prepared Statements, but nothing works. I hope somebody who has a project with an oracle database and different key-names for subject,start,end can help me with a example project.
Thank you very much and best regards,
Mirko
Hi
I'm trying to set the MaxLength of TextBoxes in GridBoundColumn.
I get null for the Textbox...what am I doing wrong?
Code is below, thanks!
<telerik:RadGrid ID="grdUser" runat="server" CellSpacing="0" AutoGenerateColumns="False"
Width="95%" ShowStatusBar="True" OnInsertCommand="grdUser_InsertCommand" OnUpdateCommand="grdUser_UpdateCommand"
PageSize="20" AllowPaging="True" OnNeedDataSource="grdUser_NeedDataSource"
OnPreRender="grdUser_PreRender"
OnItemDataBound="grdUser_ItemDataBound"
GridLines="Horizontal">
<PagerStyle Mode="NextPrev"></PagerStyle>
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<MasterTableView InsertItemPageIndexAction="ShowItemOnCurrentPage" EditMode="InPlace" CommandItemDisplay="Top" PagerStyle-Position="Bottom">
<CommandItemTemplate>
<div style="padding: 5px 5px;">
<asp:LinkButton ID="lnkBtnNew" CssClass="buttonClass" runat="server" CommandName="InitInsert"
Visible='<%# !grdUser.MasterTableView.IsItemInserted %>'>New</asp:LinkButton>
</div>
</CommandItemTemplate>
<Columns>
<telerik:GridBoundColumn DataField="UserID" HeaderText="User Id" UniqueName="UserID" Visible="false" />
<telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" UniqueName="FirstName" />
<telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" UniqueName="LastName" />
<telerik:GridBoundColumn DataField="LoginID" HeaderText="Login ID" UniqueName="LoginID" />
<telerik:GridCheckBoxColumn DataField="Active" HeaderText="Active" UniqueName="Active" />
<telerik:GridBoundColumn DataField="CreateUser.UserID" HeaderText="CreateUser.UserID" UniqueName="CreateUserID" Visible="false" />
<telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" HeaderText="CreatedDate" UniqueName="CreatedDateLabel" ReadOnly="true" />
<telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" HeaderText="CreatedDate" UniqueName="CreatedDate" Visible="false" />
<telerik:GridBoundColumn DataField="ChangeUser.UserID" HeaderText="ChangeUser.LoginID" UniqueName="ChangeUserID" Visible="false" ReadOnly="true" />
<telerik:GridBoundColumn DataField="ChangedDate" DataType="System.DateTime" HeaderText="ChangedDate" UniqueName="ChangedDate" ReadOnly="true" />
<telerik:GridEditCommandColumn />
</Columns>
</MasterTableView>
</telerik:RadGrid>
protected void grdUser_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
var d = UIProcess.UserGetAllColumnLengths();
var t = ((GridEditableItem)e.Item).FindControl("FirstName");
// t is NULL!
if (t != null)
(e.Item.FindControl("FirstName") as TextBox).MaxLength = d["FirstName"] ?? 0;
}
}
Hello I'm trying to open a radwindow from the server side on the event on some a linked button on a radgrid clicked it makes an ajax call using the ajax manager
the problem is the $find() function always returns null
I tried every possible solution I found online and the javascript function is at the end of the page
<
telerik:RadCodeBlock
ID
=
"CodeCodeCode"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function OpenWindow(url)
{
var rwindow = $find("<%= rw_customerfeedback.ClientID %>");
rwindow.setUrl(url);
rwindow.show(url);
rwindow.center();
}
</
script
>
</
telerik:RadCodeBlock
>
here's how I make the ajax call
<
telerik:AjaxSetting
AjaxControlID
=
"lnkbtn_complaint"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rw_customerfeedback"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
and here's how I call the java script code
string
corporateIdentifier = RouteData.Values[
"CorporateIdentitfier"
].ToString();
string
url = Page.GetRouteUrl(
"Complaints"
,
new
RouteValueDictionary{{
"CorporateIdentifier"
, corporateIdentifier }});
string
script = @
"OpenWindow('"
+ url +
"');"
;
Session[
"TicketID"
] = e.CommandArgument;
ScriptManager.RegisterStartupScript(
this
,
this
.GetType(),
"OpenWindow"
, script,
true
);
I have multiple charts in initially hidden iframe, so i forced to redraw them because of ​known issue.
It seems to me that this slows load quite a bit. Is there anything that can improve the situation?
Here is the code
var myIframe = $get("<%= ifSummary.ClientID %>");
myIframe.contentWindow.redrawChart();
function redrawChart() {
kendo.drawing.util.TextMetrics.current._cache = new kendo.drawing.util.LRUCache(1000);
$find("<%=rcImpacts.ClientID%>").get_kendoWidget().redraw();
$find("<%=pieValueAdded.ClientID%>").get_kendoWidget().redraw();
$find("<%=rchInvestments.ClientID%>").get_kendoWidget().redraw();
$find("<%=rhcWages.ClientID%>").get_kendoWidget().redraw();
}
​