Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Hi,

I have multiple RadEditors in the CMS of a webshop, with which it is possible to change different texts on the webshop. I added the tools for changing the fore- and backcolour of the text. This works as expected, except when you want to remove the colouring (and go back to the default colour, as specified in the css file). The colour controls have an "empty" colour in their top left, which shows as black on white in the two bars below the colourpicker. But somehow the text itself does not change colour. This problem also exists in the demo.

Any help is appreciated.
Rumen
Telerik team
 answered on 24 Aug 2009
1 answer
414 views
I am trying to use a RadDateTimePicker to have the user select a date and time (from within an asp .net ajax reorderlist insert template) and then in VB .NET get the date and time from the control (on the update) to store in a MS SQL database datetime field. Is this even possible from within an asp .net ajax reorderlist? Any help would be greatly appreciated!

Thanks,
Adam
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2009
3 answers
125 views
In transcription systems there are often features that let people type faster. Example

"cp " then is passed to a dictionary and then it is replaced with "Chest pain"

typically the spacebar is the trigger to run the lookup in the text area. (kinda like vs) but the thing to consider is that most of the time the words and then spacebar wont result in anything like "hello " is just hello.

a more complex example is

"nv "
is replaced with an entire block of text

"Normal visit for the patient who was in for a common checkup."

Can telerik editors do this, do you have any pointers for me on the client side events to try and hook on to? Any help would be great.

Next there are is another weird function which might be weird for web

We typically let end users customize some key handles like

alt+p
will insert the patient name

so it is similar to the first example but hijacks some keys like alt and ctrl

Thanks for the help ahead of time


Rumen
Telerik team
 answered on 24 Aug 2009
3 answers
174 views
Hello,

I have the ImageEditor all working now but only thing I need now is to use the custom "ImageEditor.ascx" I made. The way I got it working in a test project is like this.

imageEditor.Parameters["ExternalDialogsPath"] = "~/CustomDialogs/"; 

This is a way that will not work for me.., As I save all the files as a byte array in the database. So I hope its possible in a sort of way like this.

imageEditor.Parameters["ExternalDialogPath"] = "app_files/CustomDialogs/ImageEditor.ascx"; 

Thanks in advance,
Jeroen Speldekamp
Suneco
Top achievements
Rank 2
 answered on 24 Aug 2009
8 answers
479 views
After looking and looking at posts, either this is very easy or it's very difficult.  Regardless, just wanted to see if anyone has a solution.

I have a hiearchical radgrid with 4 detail table levels.  The functionality works great.  Does everything I want it to.  My one problem that is holding me back is the exporting.  I am basically looking at exporting whatever is expanded at the time the export button is clicked.  I know that the command line RadGrid.MasterTableView.ExportToExcel() will just export the master table.  I tried the .HierarchyDefaultExpanded = true but that expands every row and I only want the rows expanded by the user.

This demo is similar to what I have.

I tried looping through each row in the mastertableview to capture if it is expanded, but then I can't figure out a way to go through and expand those rows before it exports.  If I can figure out this, then it should be fairly easy to go through each detail table to do the same.

Any input is appreciated.  If you need me to be more specific, let me know.

Zach
Yuvraj
Top achievements
Rank 1
 answered on 24 Aug 2009
3 answers
165 views
I am using radscript manager in my application but i dont want to use 

<

 

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
in web.config so that i am getting error
do i use rad script manager with out this tag in web.config

 

ManniAT
Top achievements
Rank 2
 answered on 24 Aug 2009
1 answer
226 views
Is there a way to set a tooltip for the button of a RadTextBox?  The button shows up when the ShowButton="true" is set.


Shinu
Top achievements
Rank 2
 answered on 24 Aug 2009
3 answers
114 views
Got a weird problem - when clicking on my button to populate the grid based on search criteria, it first gives gives an error saying this._postBackSettings.async' is null or not an object, then click it again, returns empty result, third click - everything works fine!! Any subsequent searches on the same page work as expected... Don't know what to do!! Here's code:

<

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="grdSearch" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadGrid ID="grdSearch" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="false"

 

 

OnItemDataBound="grdSearch_ItemDataBound" OnNeedDataSource="grdSearch_NeedDataSource">

 

 

<ExportSettings>

 

 

<Pdf FontType="Subset" PaperSize= "A4" />

 

 

<Excel Format="Html" />

 

 

<Csv FileExtension="csv" ColumnDelimiter="Comma" RowDelimiter="NewLine" />

 

 

</ExportSettings>

 

 

<MasterTableView TableLayout="Auto">

 

 

<Columns>

 

 

<telerik:GridHyperLinkColumn

 

 

DataTextFormatString="'{0}'"

 

 

DataNavigateUrlFields="DebtorId"

 

 

UniqueName="DebtorsNo"

 

 

DataNavigateUrlFormatString="DebtorDetails.aspx?did={0}"

 

 

HeaderText="Debtors No"

 

 

DataTextField="DebtorsNo">

 

 

</telerik:GridHyperLinkColumn>

 

 

<telerik:GridHyperLinkColumn

 

 

DataTextFormatString="'{0}'"

 

 

DataNavigateUrlFields="DebtorId"

 

 

UniqueName="DebtorName"

 

 

DataNavigateUrlFormatString="DebtorDetails.aspx?did={0}"

 

 

HeaderText="Name"

 

 

DataTextField="DebtorName">

 

 

</telerik:GridHyperLinkColumn>

 

 

<telerik:GridBoundColumn

 

 

DataField="Postcode"

 

 

DataType="System.String"

 

 

HeaderText="Postcode"

 

 

SortExpression="Postcode"

 

 

UniqueName="Postcode">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Is Active" UniqueName="TemplateColumn">

 

 

<ItemTemplate>

 

 

<asp:CheckBox id="statusChkBox" runat="server"

 

 

Checked='<%# Eval("Active") %>' Enabled="false">

 

 

</asp:CheckBox>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<FilterMenu EnableTheming="True">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 



protected

 

void Page_Load(object sender, EventArgs e)

 

{

 

if (!Page.IsPostBack)

 

{

 

CommonHelper.SetFocus(txtSearch);

 

grdSearch.DataSource =

new int[] { };

 

 

//Response.Redirect("NotImplemented.aspx");

 

}

}

 

void BindGrid()

 

{

 

DebtorCollection debtorCollection = new DebtorCollection();

 

 

try

 

{

debtorCollection =

DebtorManager.Search(txtSearch.Text);

 

}

 

catch (Exception ex)

 

{

lblError.Text = ex.Message;

}

grdSearch.DataSource = debtorCollection;

 

//grdSearch.DataBind();

 

}

 

protected void btnSearch_Click(object sender, EventArgs e)

 

{

 

//BindGrid();

 

grdSearch.Rebind();

}

 

protected void grdSearch_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

//if (e.Item is GridPagerItem)

 

 

//{

 

 

// lblTotalNoRecords.Text = "Total number of records found: " + (e.Item as GridPagerItem).Paging.DataSourceCount.ToString();

 

 

//}

 

}

 

protected void grdSearch_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

BindGrid();

}

Daniel
Telerik team
 answered on 24 Aug 2009
6 answers
101 views
Hi

It seems that i ran into another bug in de scheduler control.
We are using the schedular control with webservices and with the advanced form.

When i click the "Show 24 hours" button at the bottom of the schedular after moving an appointment,
the appointment that i moved stays on the exact same place in the Radschedular, while the other appointments are moving to the correct position.

This also happens in your demo application Demo .

Can you fix this problem?


Datamex
Top achievements
Rank 2
 answered on 24 Aug 2009
1 answer
58 views
We are getting the following error when using the editor control on firefox 3.5.2 and also chrome, our telerik editor version is 2009.2.701.20, so its the latest, but we are getting the following error in a pop up window
"Error while executing filter IndentHTMLContentFilter - SyntaxError: Duplicate RegExp flag g" after that you control displays correctly.
Lini
Telerik team
 answered on 24 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?