Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
150 views
Hi there

I am having troubles getting RadControls for ASP.NET AJAX to install properly, and before I get all carried away and put all sorts of stuff everywhere, I thought I'd start off here.

I have VS 2008 Pro installed locally with .NET 3.5 on XP Professional.  IIS is on our Windows 2003 server, as are all the web site files.  Our network is running on a domain, so a typical development URL is http://website.webuild.local.

What do I have to install on my local machine, and what goes on the server?  So far I have downloaded the EXE installation file and put that onto my local machine.  I have the Telerik controls in my VS Toolbox, but no intellisense.  How do I get the intellisense to work?

I have tried to add RadEditor to a form, only to get:

D:\Shared\WEBSERVER\CWC02_CMS\App_Data\RadSpell\en-US.tdf' is missing. The spellchecking functionality of RadEditor requires a dictionary file named 'en-US.tdf' in the 'D:\Shared\WEBSERVER\CWC02_CMS\App_Data\RadSpell\' folder. Please, ensure that all needed dictionary files from the original RadEditor distribution are present. See the help for more details Controls > RadEditor > Spellchecker

Which leads me to believe that I need to install something on to the server.  I will have many sites accessing these controls, so ideally a single location which can be referenced by many sites.

I have also had issues in the past with debugging sites with the previous version RadEditor, so that needs to be working as well.

I would like to think that I only had to read the help files that came with the EXE, but that hasn't seemed to help me so far, hence the stop and pause.

Kit
Rumen
Telerik team
 answered on 06 Aug 2008
2 answers
90 views
Hi All...can any1 assist me plz...i am using a radtreeview in a radcombobox....i have got the treeview to populate...that works 100%...the problem is that wen i select a node then it doesnt stay selected...the combobox closes and shows that nothing is selected...plz help?
Wicus
Top achievements
Rank 1
 answered on 06 Aug 2008
1 answer
90 views
hello
i used rad grid insert/update/delete operation work perfectly
but javascript error occured like

"Sys is undefined"

and for this reason may bother functionality
like paging,scrolling, selecting not work
ple give me ans..................
thanks

Veli
Telerik team
 answered on 06 Aug 2008
1 answer
271 views
Hi,

I'm using CustomFilterColumns in my RadGrid (as per the examples provided from Telerik). Because I don't want a postback to occur everytime a new filter selection occurs, I've set the AutoPostBack to false (this is within the CustomFilterColumn class) and created a button with CommandName="Filter" (see below) in the hope that when the user selects one (or many) filters, then clicks on the button, the appropriate filtering will be applied.

What I'm finding however, is that if I have more than 1 column with a filter value selected in the dropdown list and then I click on the "Apply Filter" button, only the first column's (from the LHS) filter gets applied to the grid and any subsequent filters are disregarded. This happens the first time. When I continue to select another filter (after the first filter is applied) and click on the "Apply Filter" button, then both these filters are applied correctly. I.e. The filterexpression is "([column1] = 'value1' AND [column2] = 'value2').

I have tried enabling view state as well as the EnableColumnsViewState property however this has not helped.

I'd appreciate any ideas/solutions for this.

Thanks and Regards,

Danielle.


<

CommandItemTemplate>

<asp:Button Runat="server" ID="ClearAllFiltersLinkButton"Text="Clear All Filters" CommandName="ClearFilters" />

<asp:Button Runat="server" ID="ApplyFilterButton"Text="Apply Filtering" CommandName="Filter" />

</CommandItemTemplate>


Veli
Telerik team
 answered on 06 Aug 2008
1 answer
154 views
Hi,

I'm wondering what is the best way (at this stage) to use RadEditor on a ASP.NET MVC page.
The view itself can be ASPX, NHAML, NVelocity etc.

So I think the best way is to put the editor on a separate ASPX page and include it into iframe in the view.


With this scenario I'll have to get posted data from iframe and pass it to controllers or something like that. Not really nice approach.

Maybe other better suggestions?

Thanks,
Dmitriy.
Rumen
Telerik team
 answered on 06 Aug 2008
1 answer
179 views
Is there a way to make the free RadEditor (Lite Edition) the default editor for the "page content" rich HTML filed on publishing pages?

Also, is there a way to replace all my current Content Editor Web Parts in my site with the Telerik RadEditor without me having to go through the following steps (for every page in the site):

  • Edit the page
  • Copy the contents of the CEWP
  • Delete the CEWP from the web part zone
  • Add the RadEditor to the web part zone
  • Paste the contents of the CEWP into the RadEditor
  • Publish the page
George
Telerik team
 answered on 06 Aug 2008
2 answers
174 views
Hi,

Iam new to telerik.
I have 6 tabs in my page..Each has textbox,dropdowns and datagrid controls.
Valdiations are working correctly but the problem is 
             Validation are done only if i enter some values in others tabs too.And the validtaion summary is generated in only one validation summary control.If i keep seperate control for validation summary in seperate tabs it's not displaying the validations.
    How can i get validation summaries in different tabs without effecting other tabs.Can any one help me.
    following is my code for one of the tabs.


<

cc1:TabPanel runat="server" id="tabPbill" Enabled="true" HeaderText="BillPlan" >

<ContentTemplate>

<table>

<tr>

<td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientName</td>

<td>&nbsp;<asp:DropDownList ID="ddbillcli" runat="server" Width="106px">

</asp:DropDownList>

<asp:RequiredFieldValidator ID="reqddbillcli" runat="server" ErrorMessage="Select Any ClientName" ControlToValidate="ddbillcli" InitialValue="--Select--" >*</asp:RequiredFieldValidator>

</td>

</tr>

<tr>

<td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProgramName</td>

<td>&nbsp;<asp:DropDownList ID="ddbillpgm" runat="server" Width="106px">

</asp:DropDownList>

<asp:RequiredFieldValidator ID="reqddbillpgm" runat="server" ErrorMessage="Select Any ProgramName" ControlToValidate="ddbillpgm" InitialValue="--Select--" >*</asp:RequiredFieldValidator>

</td>

</tr>

<tr>

<td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BillPlan</td>

<td>&nbsp;<asp:TextBox ID="txtbillplan" runat="server" Width="100px" ></asp:TextBox>

<asp:RequiredFieldValidator ID="reqtxtbillplan" runat="server" ControlToValidate="txtbillplan" ErrorMessage="Enter BillPlan" InitialValue="" Display="dynamic">*</asp:RequiredFieldValidator>

<asp:RegularExpressionValidator ID="regtxtbillplan" runat="server" ControlToValidate="txtbillplan" ErrorMessage="Enter Valid BillPlan" ValidationExpression="^[a-zA-Z]*[\s.,-]+[0-9]+$" Display="dynamic" >*</asp:RegularExpressionValidator>

</td>

</tr>

<tr><td><asp:ValidationSummary ID="ValidationSummary1" runat="server" /></td></tr>

<tr>

<td align="center" colspan="2"><asp:UpdatePanel ID="updbill" runat="Server">

<ContentTemplate>&nbsp;&nbsp;&nbsp;&nbsp;

<asp:ImageButton ID="btnbillsub" runat="server" ImageUrl="~/btnimages/submit.jpg" OnClick="btnbillsub_Click"/>

<asp:ImageButton ID="btnbillres" runat="server" ImageUrl="~/btnimages/reset.jpg" />

</ContentTemplate>

<Triggers>

<asp:AsyncPostBackTrigger ControlID="btnbillsub" EventName="Click" />

<asp:AsyncPostBackTrigger ControlID="btnbillres" EventName="Click" />

</Triggers>

</asp:UpdatePanel></td>

</tr>

<tr><td align="center" colspan="2"><asp:Label ID="lblmsg" runat="server" Font-Bold="true" ForeColor="gray" Font-Size="Small"></asp:Label></td></tr>

<tr><td align="center" colspan="2">&nbsp;</td></tr>

<tr><td align="center" colspan="2">

<asp:DataGrid ID="dgbill" runat="server" AllowPaging="True" PageSize="5" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" OnEditCommand="dgbill_EditCommand" OnCancelCommand="dgbill_CancelCommand" OnUpdateCommand="dgbill_UpdateCommand" OnItemDataBound="dgbill_ItemDataBound" OnPageIndexChanged="dgbill_PageIndexChanged" CssClass="DataGridFixedHeader">

<FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />

<SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />

<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />

<ItemStyle ForeColor="#333333" BackColor="#F7F6F3" />

<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />

<Columns>

<

asp:TemplateColumn HeaderText="BillPlanId" Visible="False">

<ItemTemplate>

<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.iBP_ID") %>' ID="lblid"></asp:Label>

</ItemTemplate>

<EditItemTemplate>

<asp:TextBox runat="server" ReadOnly="true" Text='<%# DataBinder.Eval(Container, "DataItem.iBP_ID") %>' ID="txtid"></asp:TextBox>

</EditItemTemplate>

</asp:TemplateColumn>

<asp:TemplateColumn HeaderText="Client">

<ItemTemplate>

<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.sCD_LegalName") %>' ID="ClientName"></asp:Label>

</ItemTemplate>

<EditItemTemplate>

<asp:DropDownList runat="server" Width="110px" DataSource='<%# client() %>' DataTextField="Client" DataValueField="iClient_ID" ID="editcli"></asp:DropDownList>

</EditItemTemplate>

</asp:TemplateColumn>

<asp:TemplateColumn HeaderText="Program">

<ItemTemplate>

<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.sPGM_Name") %>' ID="PgmName"></asp:Label>

</ItemTemplate>

<EditItemTemplate>

<asp:DropDownList runat="server" Width="110px" DataSource='<%# pgm() %>' DataTextField="sPGM_Name" DataValueField="iPGM_ID" ID="editpgm"></asp:DropDownList>

</EditItemTemplate>

</asp:TemplateColumn>

<asp:TemplateColumn HeaderText="BillPlan">

<ItemTemplate>

<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.sBP_Name") %>' ID="lblbillplan"></asp:Label>

</ItemTemplate>

<EditItemTemplate>

<asp:TextBox runat="server" Width="50px" Text='<%# DataBinder.Eval(Container, "DataItem.sBP_Name") %>' ID="txtbillplan"></asp:TextBox>

<asp:RequiredFieldValidator runat="server" ID="reqtxtbillplan" ControlToValidate="txtbillplan" ErrorMessage="Enter BillPlan" Display="dynamic">*</asp:RequiredFieldValidator>

<asp:RegularExpressionValidator runat="server" ID="regtxtbillplan" ControlToValidate="txtbillplan" ErrorMessage="Enter Valid BillPlan" Display="dynamic" ValidationExpression="[a-zA-Z]*[\s.,-]+[0-9]+">*</asp:RegularExpressionValidator>

</EditItemTemplate>

</asp:TemplateColumn>

<asp:TemplateColumn HeaderText="Delete">

<ItemTemplate>

<asp:CheckBox ID="chkbox" AutoPostBack="true" runat="server" Checked='<%# chked(Convert.ToInt64(DataBinder.Eval(Container.DataItem,"iLogicalDeletestatus"))) %>' OnCheckedChanged="chkbox_CheckedChanged" />

</ItemTemplate>

</asp:TemplateColumn>

<asp:BoundColumn DataField="iLogicalDeletestatus" HeaderText="Deletestatus" ReadOnly="True"

Visible="False"></asp:BoundColumn>

<asp:EditCommandColumn CancelText="Cancel" EditText="Edit" HeaderText="Edit" UpdateText="Update">

</asp:EditCommandColumn>

<asp:BoundColumn DataField="iBP_ID" ReadOnly="True" Visible="False"></asp:BoundColumn>

<asp:BoundColumn DataField="iClient_ID" ReadOnly="True" Visible="False"></asp:BoundColumn>

<asp:BoundColumn DataField="sCD_LegalName" ReadOnly="True" Visible="False"></asp:BoundColumn>

<asp:BoundColumn DataField="iPGM_ID" ReadOnly="True" Visible="False"></asp:BoundColumn>

<asp:BoundColumn DataField="sPGM_Name" ReadOnly="True" Visible="False"></asp:BoundColumn>

</Columns>

<AlternatingItemStyle BackColor="White" ForeColor="#284775" />

</asp:DataGrid>

</td></tr>

</table>

</ContentTemplate>

</cc1:TabPanel>

Thanks & Regards,
raam.

raam
Top achievements
Rank 1
 answered on 06 Aug 2008
3 answers
242 views

I am using RadComboBox for ASP.NET AJAX
I am trying to set and retrieve a custom attribute for  RadComboBoxes
I have successfully done this with a combobox wuthout loadondemand but I cannot get it to work with loadondemand.
I get the following error
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 454:        BatchSettings.AuthorInitials = wcAuthor.SelectedItem.Attributes("AuthorInitials")
Line 455:        BatchSettings.DepartmentHeader = wcDeptHeader.Text
Line 456: BatchSettings.ClinicName = wcClinic.SelectedItem.Attributes("ClinicName")

Line 454 is the normal RadComboBox which works
Line 456 is the loadondemand RadComboBox which doesn't

I have looked at all the relevant forum posts and dowloaded the sample projects LOD_MultiColumn_CustomAttributes and LOD_MultiColumn_CustomAttributes_Web_UI

Here are some extracts of my code:

Protected Sub wcClinic_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Handles wcClinic.ItemsRequested

loadClinicItems(e.Text)

End Sub

Private Sub loadClinicItems(ByVal SearchText As String)

Dim Conn As SqlConnection

Dim ConnStr As String

If Session("Conn") Is Nothing Then

ConnStr = Application(

"CEDM_Connection")

Conn =

New System.Data.SqlClient.SqlConnection(ConnStr)

Session(

"Conn") = Conn

Conn.Open()

Else

Conn = Session(

"Conn")

If Conn.State = System.Data.ConnectionState.Closed Then Conn.Open()

End If

Dim sql As String = "SELECT Code,ClinicDescription,[Name] FROM [vw_Clinics] WHERE Code LIKE '" + SearchText + "%'"

Dim adapter As New System.Data.SqlClient.SqlDataAdapter(sql, Conn)

Dim dt As New DataTable()

adapter.Fill(dt)

Conn.Close()

wcClinic.DataSource = dt

wcClinic.DataBind()

End Sub

Protected Sub wcClinic_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemEventArgs) Handles wcClinic.ItemDataBound

Dim dr As DataRowView = DirectCast(e.Item.DataItem, DataRowView)

e.Item.Value = dr(

"Code").ToString()

e.Item.Text = dr(

"ClinicDescription").ToString()

e.Item.Attributes(

"ClinicName") = dr("Name").ToString()

End Sub

BatchSettings.AuthorInitials = wcAuthor.SelectedItem.Attributes(

"AuthorInitials") 'This works

BatchSettings.DepartmentHeader = wcDeptHeader.Text

BatchSettings.ClinicName = wcClinic.SelectedItem.Attributes(

"ClinicName")'This throws an error

Any help would be much appreciated.

Peter
Top achievements
Rank 1
 answered on 06 Aug 2008
2 answers
145 views
Could someone please point me in the right direction?

I have a date picker at the right edge of my screen, when I open the calendar it is left aligned with the datepicker text box, and the right hand side of the calendar is positioned outside the browser pane. How can I ensure the calendar is always displayed inside the browser pane?
Princy
Top achievements
Rank 2
 answered on 06 Aug 2008
1 answer
91 views
I updated Radcontrols to version 2.0 (RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe) and now I see couple of issues.

1. I am using RadGrid on several pages, but now on one page RadGrid does not show paging. Pager totally disappeared.

2. RadAjaxLoadingPanel doesnt show up anymore.

Are there any known issues with this version or is there something that I need to take care of after installation?

~SP
Yavor
Telerik team
 answered on 06 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?