Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
57 views
I followed the tutorial here:
http://www.telerik.com/help/aspnet/tabstrip/tab_create%20a%20wizzard%20with%20telerik%20radtabstrip.html

It has a nice picture of what it should look like but my example looks nothing like it.  Just the tabs are taking the skin, nothing in the multipages are taking any theming, should they have a panel inside or something?  The pages all are just white, where's the border styling where's the background coloring or even texturing that's in the example.  Whats the disconnect?
Veronica
Telerik team
 answered on 27 May 2011
3 answers
80 views

Hello Telerik Staff,

My question is as my title ask, does it support on Safari and other browser?
In my asp page, I can open RadWindow with client script, then when user click the submit button in the RadWindow, it trigger the RadWindow client-onclose and do the follows:

 

 

var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>"); 
ajaxManager.ajaxRequest(value.By);

 

 

 

 

 

But I don't see the postback after the RadWindow close on Safari, I just wonder does it support?
Note: It is working prefectly on Internet Explorer, the last time I update my Telerik is on Nov I believe.

Thanks,
King

Iana Tsolova
Telerik team
 answered on 27 May 2011
5 answers
123 views
When it's on my scheduler page, apparently.

SS1.gif shows an appointment on my scheduler, it appears to start at midnight and be of short duration. It clearlt isn't in the All Day area of the control.

SS2.gif shows the codebehind paused at a breakpoint in the AppointmentDataBound event. You can clearly see that the appointment is setup correctly accoring to this forum thread.

So what am I doing wrong?

--
Stuart
Peter
Telerik team
 answered on 27 May 2011
0 answers
53 views
i have use telerik calender control use in asp.net... the calender control not work it and not display it.Any ideas should i use any code this?
i am beginner


The error is
 

Delivery Date : Open the calendar popup.

  

<asp:CommandField HeaderText="Delete" ShowDeleteButton="True" />

<pagerstyle backcolor="#2461BF" forecolor="White" horizontalalign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<editrowstyle backcolor="#2461BF" />
<alternatingrowstyle backcolor="White" />
<emptydatatemplate>
No Record
</emptydatatemplate>
<br />
<br />
<tr><td class="style4">
</td>
<td class="style1">
</td>
<td class="style5">
</td>
</tr>

<tr><td class="style6">Size :</td><td class="style7" colspan="2">
<asp:DropDownList ID="cmbSize" runat="server" AutoPostBack="True"
onselectedindexchanged="cmbSize_SelectedIndexChanged"
Height="26px" Width="128px">

</td></tr>

<tr><td class="style4">Amount :</td><td class="style1" colspan="2">
<asp:TextBox ID="txtAmt" runat="server"
>
</td></tr><tr><td class="style4">Extra Copies :</td><td class="style1">
colspan="2">
<asp:TextBox ID="txtNoofcopies" runat="server" AutoPostBack="true"
></td>
</tr>
<tr><td class="style4"> Extra Copy Amount :</td><td class="style1" colspan="2">
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true" ontextchanged="TextBox1_TextChanged">
</td>
<tr><td class="style4">
Total</td><td class="style1" colspan="2">
<asp:TextBox ID="txtTot" runat="server" AutoPostBack="true">
</td>
<tr><td class="style4">
<asp:Label ID="Label3" runat="server" Text="Lamination">
</td><td class="style1" colspan="2">
<asp:DropDownList ID="Ddl" runat="server" Height="26px" Width="128px">

</td><tr>
<td class="style4">
<asp:Label ID="Label4" runat="server" Text="Lamination Amount">
</td>
<td class="style1" colspan="2">
<asp:TextBox ID="txtlami" runat="server" AutoPostBack="true"
ontextchanged="txtlami_TextChanged" >
</td></tr>
<tr><td class="style4"><asp:Label ID="Label1" runat="server" Text="Grand Total : " Font-Bold="true" Font-Size="Medium"

>
</td>
<td class="style1" colspan="2">
<asp:TextBox ID="txtgrandtot" runat="server" AutoPostBack="true"
>
</td>
<td>
</td></tr>
<tr><td class="style4">
<asp:Label ID="Label2" runat="server" Text="Paid Amount">
</td>
<td class="style1" colspan="2">
<asp:TextBox ID="txtPaid" runat="server" ontextchanged="txtPaid_TextChanged"></td>
<td>
</td></tr>
<tr><td class="style4">Balance</td>
<td class="style1" colspan="2">
<asp:TextBox ID="txtbalance" runat="server"
>
</td>
<td>
</td></tr>
<tr><td class="style4">
<asp:Button ID="btnAdd" runat="server" Text="Add" onclick="btnAdd_Click" /><asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
<asp:Button ID="btnClear" runat="server" Text="Clear"
onclick="btnClear_Click" /></td>
<td class="style1" colspan="2"> </td>
<td>
</td></tr>

<br />
<asp:ImageButton ID="imgPrint" runat="server" ImageUrl="~/images/print.jpg"
onclick="imgPrint_Click" />
<br />


<asp:Label ID="lblError" runat="server" Text="">
<%-- 
<script type="text/javascript">
function ToggleCalendar()
{
var pnlCalendar = self.document.getElementById('pnlCalendar');
if (pnlCalendar.style.display == 'none')
{
ShowHideCalendar(true);
}
else
{
ShowHideCalendar(false);
}
}
function ShowHideCalendar(CanShow)
{
var pnlCalendar = self.document.getElementById('pnlCalendar');
if (CanShow==true)
{
pnlCalendar.style.display = "block";
var t = setTimeout("ShowHideCalendar(false)", 5000);
}
else
{
pnlCalendar.style.display = "none";
}

}
</script>




<style type="text/css">
.style1
{
width: 347px;
}
.style2
{
width: 60px;
}
</style>
--%>

<asp:Content ID="Content1" runat="server" contentplaceholderid="head">

<style type="text/css">
.style1
{
width: 476px;
text-align: left;
}
.style2
{
text-align: center;
}
.style4
{
text-align: right;
width: 445px;
}
.style5
{
width: 85px;
text-align: left;
}
.style6
{
text-align: right;
width: 445px;
height: 22px;
}
.style7
{
width: 476px;
text-align: left;
height: 22px;
}
</style>
</tr></tr></tr>

vimal
Top achievements
Rank 1
 asked on 27 May 2011
4 answers
134 views
Hi,

I'm having a look at creating a scheduler which uses Linq as a datasource. I've read through your guide on doing this which I found under another forum post:

http://www.telerik.com/support/kb/article/b454K-meb-b454T-cth-b454c-cth.aspx

This was great, thanks. One thing I would like to do that I can't seem to figure yet is how to add a resource where the items are from another table, but only associated with the appointment via a link table.

I'm trying to get a list of 50 or so items under the resources as checkboxes.. then ticking an item saves an entry in the link table.

I've set up the linqdatasources, but I'm not sure the ForeignKeyField can work like this. Anyone had any success doing something like this?

Thanks,
Lee.
Nikolay Tsenkov
Telerik team
 answered on 27 May 2011
1 answer
213 views

Hi,

I have a RadGrid with a LinkButton inside a   GridTemplateColumn. My problem is that the CommandName and CommandArgument of the LinkButton sometimes is empty when the postback is triggered. What can cause this? The properties of the LinkButton is set in the OnItemDataBound event. How do I solve this?

<Telerik:GridTemplateColumn UniqueName="DeliveredDate" ItemStyle-CssClass="date"><br>                                 <ItemTemplate><br>                                <asp:LinkButton ID="linkButtonMarkAsArrived" runat="server" /><br>                                  </ItemTemplate><br>                               </Telerik:GridTemplateColumn><br>

Genti
Telerik team
 answered on 27 May 2011
1 answer
67 views
I've followed the instructions in a couple of posts for setting the default path for Images, Documents, etc. in RadEditor for DNN 5.2.6, but DNN ignores me.

Can you describe how to set the default folders for Images
  • Images to: ~/Portals/0/Images
  • Documents to: ~/Portals/0/Docs

Thanks,
Jason
Rumen
Telerik team
 answered on 27 May 2011
3 answers
317 views
Trying to get a TemplateColumn to span 3 columns when in edit mode.
Every time it renders in insert or edit, columns 1 and 2 are pushed out. I would like it so the checkbox list can run wild horizontally.  I build my checkbox list at ItemDataBound.


<MasterTableView EditMode="EditForms" AutoGenerateColumns="false" DataKeyNames="PK" CommandItemDisplay="Top">
<EditFormSettings ColumnNumber="3" >
</EditFormSettings>
<columns>
<telerik:GridTemplateColumn UniqueName="Assigned" EditFormColumnIndex="0" HeaderText="Assigned" >
<EditItemTemplate>
<asp:HiddenField ID="HidAssigned" runat="server" Value='<%# Eval("Assigned") %>' />
<asp:CheckBoxList RepeatDirection="Horizontal" ID="CBAssigned" Runat="server" />
</EditItemTemplate>
<ItemTemplate>
<%#Eval("Assigned") %>
</ItemTemplate>
</telerik:GridTemplateColumn>

Radoslav
Telerik team
 answered on 27 May 2011
1 answer
175 views
Hi,

I have one radgrid, In this radgrid i have checkboxs, radnumerictextbox,raddatepicker and dropdownlist controls.
When i check completed checkbox in the radgrid disabled 99%Complete checkbox and percent complete radnumerictextbox value should be 100. All these actions working fine. I implemented all these action in the client side.
My problem is when i check completed checkbox in the radgrid of first page and i moved to nextpage using paging. When i back to the first page all disabled controls are now visible true.

Attached is the screen shot of radgrid with controls.

.cs file
--------------------
Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs)
If TypeOf e.Item Is GridDataItem Then
            Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
            Dim txtbox As RadNumericTextBox = DirectCast(item.FindControl("pct"), RadNumericTextBox)
            Dim datepicker As RadDatePicker = DirectCast(item.FindControl("actstart"), RadDatePicker)
            Dim remdur As RadNumericTextBox = DirectCast(item.FindControl("remdurNumtxt"), RadNumericTextBox)
            Dim msdatepicker As RadDatePicker = DirectCast(item.FindControl("manstart"), RadDatePicker)
            Dim mfdatepicker As RadDatePicker = DirectCast(item.FindControl("manfinish"), RadDatePicker)
            Dim chkBox As CheckBox = DirectCast(item.FindControl("chkComplete"), CheckBox)
            Dim chkPerComp As CheckBox = DirectCast(item.FindControl("Chkbox"), CheckBox)
            chkBox.Attributes.Add("onclick", "return Completed('" + chkBox.ClientID + "','" + txtbox.ClientID + "','" + chkPerComp.ClientID + "','" + remdur.ClientID + "','" + msdatepicker.ClientID + "','" + mfdatepicker.ClientID + "')")
            chkPerComp.Attributes.Add("onclick", "return perComplete('" + chkBox.ClientID + "','" + txtbox.ClientID + "','" + chkPerComp.ClientID + "')")
        End If
End Sub

aspx page
-------------------------------
<telerik:GridTemplateColumn UniqueName="Complete" HeaderText="Completed" AllowFiltering="false">
                        <ItemTemplate>
                            <asp:Panel ID="Panel1" runat="server" Width="2px">
                                <asp:CheckBox ID="chkComplete" runat="server"/>
                            </asp:Panel>
                        </ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="perComplete" HeaderText="99% Complete" AllowFiltering="false">
                        <ItemTemplate>
                            <asp:Panel ID="Panel2" runat="server">
                                <asp:CheckBox ID="Chkbox" runat="server"/>
                            </asp:Panel>
                        </ItemTemplate>
 </telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="perComplete" HeaderText="Percent Complete" AllowFiltering="false">
                     <ItemTemplate>
                       <telerik:radnumerictextbox id="pct" runat="server" text='<%#Eval("pct") %>' minvalue="0" maxvalue="100" width="50px" FocusedStyle-BackColor="Yellow" NumberFormat-DecimalDigits="0">
                           <numberformat allowrounding="true" decimaldigits="4"/>  
                       </telerik:radnumerictextbox>
                     </ItemTemplate>
</telerik:GridTemplateColumn>

 <script type="text/javascript">         
           //Completed checkbox function
           function Completed(chkComp,pertxtbox,chkPercomp,remdur,msdate,mfdate) {
               var chkComplete = document.getElementById(chkComp);
               var chkPerComplete = document.getElementById(chkPercomp);
               var pertext = $find(pertxtbox);
               var radremdur = $find(remdur);
               var msdatepicker = $find(msdate);
               var mfdatepicker = $find(mfdate);
               
               if (chkComplete.checked) {
                   chkPerComplete.checked = false;
                   chkPerComplete.style.display = 'none';
                   pertext.set_value(100);
                   pertext.disable();
                   radremdur.set_visible(false);
                   msdatepicker.clear();
                   msdatepicker.set_visible(false);
                   mfdatepicker.clear();
                   mfdatepicker.set_visible(false);
               }
              }
           }
       </script>
Princy
Top achievements
Rank 2
 answered on 27 May 2011
1 answer
96 views
Hi Everyone,

I am facing some problem while Migration from ASP.NET to ASP.NET AJAX. I need some help from you. When I Replaced the classic directive <%@ Register Assembly="RadWindow.NET2" Namespace="Telerik.WebControls" TagPrefix="radW" %> with the new one of for ASP.NET AJAX :<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> which i control I must and should I change? For example if replaced like above i must and should update RadAJAXManager other wise an exception is throwing Null Reference exception. Like this how many control must and should i change?

Here is Error

This error occurred when i have not updated RADAjaxManger control.

NullReferenceException: Object reference not set to an instance of an object.
Telerik.WebControls.RadAjaxUtils.RadControl.GetUpdatingUpdatePanel(Control target) +101
Telerik.WebControls.RadAjaxUtils.RadControl.IsInAjaxUpdatePanel(Control target) +50
Telerik.WebControls.RadAjaxUtils.RadControl.Page_PreRenderComplete(Object sender, EventArgs e) +21
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8703326
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029

Thanks in advance

--Sai Charan.M
Sebastian
Telerik team
 answered on 27 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?