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

I have got a date field with null data in the database. It gets rendered as '01/01000 00:00:00'. Is it possible to display blank if the date is null.

Many thanks.
MG
Tsvetoslav
Telerik team
 answered on 12 Jul 2010
1 answer
171 views
I have an app that bind directly from a data set to a grid. 

<

 

 

telerik:GridBoundColumn UniqueName="searchString" AllowSorting="false" DataField="searchString" HeaderText="Search String" />

The binding text is HTML text.  I would like to see the HTML text in both normal view mode and edit view.  And when I insert to the database, I would also like to insert the exact HTML that is in the text box.

I just started seeing errors with IE8 that will not let me insert with HTML characters in the text box even though validateRequest is set to false.

How do I accomplish this?
--Jeff

 

 

 

 

 

Yavor
Telerik team
 answered on 12 Jul 2010
2 answers
229 views
Hi,

I want to fill radcombobox in listview editItemTemplate programatically.
Where should I fill it? 

Should I fill in listview ItemDataBound event? or listview ItemCreated event? or something else?

Simple Code that I wrote:
protected void listview1_ItemDataBound(object sender, RadListViewItemEventArgs e)
{
   if (e.Item is RadListViewEditableItem && e.Item.IsInEditMode)
   {
      RadComboBox cmb = e.Item.FindControl("cmbTest") as RadComboBox;
 
      if (cmb != null)
      {
         fillCombo(cmb); //databinds the combo
      }
   }
}
 
protected void fillCombo(RadComboBox cmb)
{
  cmb.DataSource = MngCon.Fill(ParameterConstants.PERSON);
  cmb.DataTextField = "NAME";
  cmb.DataValueField = "ID";
  cmb.DataBind();
}


PS: when I try to enter comboBox -> SelectedValue='<%# Bind("PERSONID") %>'  it gives me an error; Selection out of range.
Rosen
Telerik team
 answered on 12 Jul 2010
3 answers
158 views
I am trying to use the Scheduler control to build a monthly calendar display of events.  The functionality needed is fairly simple and straightforward - all I need is to show is either one or two appointments per day, and respond to click events on the appointments.

However, I am having trouble determining which properties should be specified to get the effect that I am looking for. The current markup for the scheduler control is shown below, and I have attached two jpegs - one of what the control currently looks like in operation, and another one of how I want it to look.

The specific things I want to change are as follows:

1. Eliminate the vertical line and blank space above the top of the control
2. Provide next-prev controls for month and year
3. Have the day header line match the detail lines below it.
4. Be able to enter and display one or two appointments for a given day.

Thank you

 

<telerik:RadScheduler ID="ctlScheduler" runat="server"

 

 

AllowDelete="False"

 

 

AllowEdit="False"

 

 

AllowInsert="False"

 

 

BackColor="White"

 

 

ColumnWidth="100"

 

 

DataKeyField="ID"

 

 

DataSourceID="ctlObjectSource"

 

 

DataSubjectField="Description"

 

 

DataStartField="StartTime"

 

 

DataEndField="EndTime"

 

 

DayStartTime="00:00:00"

 

 

DayEndTime="23:59:59"

 

 

MinutesPerRow="720"

 

 

MonthView-AdaptiveRowHeight="false"

 

 

MonthView-MinimumRowHeight="2"

 

 

MonthView-ShowDateHeaders="true"

 

 

MonthView-ReadOnly="true"

 

 

MonthView-VisibleAppointmentsPerDay="2"

 

 

ReadOnly="True"

 

 

RowHeight="50"

 

 

SelectedView="MonthView"

 

 

ShowAllDayRow="False"

 

 

ShowHeader="false"

 

 

ShowViewTabs="False"

 

 

TimeZoneOffset="05:00:00" >

 

 

<MonthView ReadOnly="True" />

 

 

</telerik:RadScheduler>

 

Peter
Telerik team
 answered on 12 Jul 2010
5 answers
132 views
After adding RadFormDecorator to pages the positioning is no longer correct. All buttons are in the top left corner of the page.
Georgi Tunev
Telerik team
 answered on 12 Jul 2010
3 answers
529 views
hi,

I have a Rad Text box

 

<telerik:RadTextBox ID="RadTextBox1" runat="server"  Text="Test" Enabled="false">

 

 

<DisabledStyle CssClass="MyInvalidTextBox" ></DisabledStyle>

 

 

</telerik:RadTextBox>

and the following style

 

 

html body form .RadInput .MyInvalidTextBox

 

 

 

 

{

 

border-color: #f33;

 

 

background: none #ff9;

 

 

color: Black;

 

}


After disabling the text box, the font color still remains greyed out.?
Can you please help me with this.

Regards
Saravanank

Dimo
Telerik team
 answered on 12 Jul 2010
5 answers
99 views
We're using WSS 3.0 SP1 and RadEditor Lite 4.5.6.  Because we don't have MOSS, we had to change the RadEditor Tools file to use LinkManager (and not MOSSLinkManager).  This has been working fine in IE and Firefox.  however, recently, some of our users reported issues with Chrome and Safari.  I don't know whether this has been an issue all along (we don't have THAT many Chrome/Safari users), but I was able to reproduce the problem myself, using the following steps:

  1. Using Chrome or Safari, open a Wiki page in WSS.
  2. Type some text.
  3. Highlight an EXISTING WORD and click the HyperlinkManager to insert a link.
  4. Type a URL (for example, http://www.telerik.com) in the Hyperlink Manager popup window.
  5. Click OK.

The HyperlinkManager popup window closes but nothing seems to happen (the link is not created).  Upon closer inspection, there seems to be a FONT tag surrounding the highlighted word.  In the HTML source code, this is what gets inserted:
Here is <font face="AZBY">my link</font> 

I don't know why it thinks it needs to use font "AZBY" around the highlighted part, instead of surrounding it with an <A> tag.

The problem DOES NOT seem to occur if I don't highlight an existing word, but rather insert a brand new hyperlink (URL + link text) in an empty space.

Anybody else experiencing this?  Any thoughts from Telerik?

Thanks!
Stanimir
Telerik team
 answered on 12 Jul 2010
5 answers
178 views
Hi There,

Recently we have downloaded the trial version of rad editor for Moss-2007. Version is: RadEditorMOSS_5_7_3_Trial.

Once we installed this on our SharePoint site we got the editor like attached screen shot. I just want to confirm that trial version is like this only or not? because here we are not seeing all the functionality mentioned on the site.

Also we want to confirm that , is there any trial version expiry date?


Thanks 

Stanimir
Telerik team
 answered on 12 Jul 2010
1 answer
111 views
Hi

What is the best way of populating a tree on the client side?

Our current method is now getting all the nodes from the webservice, then iterate through all the nodes adding them one by one.
With alot of nodes with alot of children, this is not a very optimized solution I would think.

Any suggestions?
Nikolay Tsenkov
Telerik team
 answered on 12 Jul 2010
2 answers
210 views

Hi,
We had OOM(Out Of Memory) exceptions on the server. My friend took a few tests on pages where RadGrid is being used. She tells me that the memory usage increases rapidly on all grid pages.

On her report I did ASP.NET Memory profiling. And in the function calling tree what I saw was surprising. We were doing custom paging and using 100 records to show per page. I tested SQL Query in SQL Profiler and it was perfect. No issues in the database or DAL. What I saw was that the 57MB was the overall memory used by the one single request. Pages without RadGrid are using like 10MBs of data which is way less than the Grid pages. I am attaching the screen shot of calling tree

From that report I can tell that
RadGrid Render method takes 35 MB memory
UNDER Telerik.WebControls.GridClientObjectBuilder.AddPropertiesFromObjectInternal(Object o) takes 31MB
 
Check the file attached and analyze memory consumption.

Thanks


Radoslav
Telerik team
 answered on 12 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?