Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
107 views
Hi
          i can add the treeview data source like this
                             USA
                                 california
                                 Los Angles
                           India
                                 Delhi
                                  Mumbai
 This data' show showing treeview check box... when i was Click the node that time the data showing  like this in label box
              ex..  California,Delhi, Mumbai..
using Javascript node clicking
               when i was remove the node time the actual result is not showing for example california,,mumbai...

Let me know how can i solve this problem... i want to need when i click or remove the node that time must be show the selected nodes in label box using javasctipts

Regards
G. Manikandan

mani
Top achievements
Rank 1
 asked on 12 Mar 2009
1 answer
155 views
Hi,

I'm trying to enable  & disable RadDatePicker according to the same here:

http://www.telerik.com/help/aspnet-ajax/calendar_clientsidebasics.html

and it is working except fromt the style which is not changed.

If i set the server side tag to be disabled, i get the correct styling.

Any ideas what I'm missing?

Thanks,
- I
Dimo
Telerik team
 answered on 12 Mar 2009
2 answers
109 views
Having started the transition to the AJAX controls, I noticed I was, occasionally, getting the above error.

I mailed support and Maria at telerik towers pointed me to this article.

Reading it, it seemed to me that only one of the listed possible causes of the error could apply in my case; using the Server Trace.

Now, this isn't something I had knowingly enabled but I did notice that TRACE appeared as a flag on the build line for my project.

I had a look around in the VS IDE for a way to disable it. I looked in vain as it doesn't appear to be possible to alter the build command line from within VS.

A bit more investigation suggested I'd find the flags in the project file. So, how do you get at the project file?

I found this MSDN article that tells you how to gain access to the project file in the VS IDE. Of course you can just open the project file using your favourite editor, but you need to make sure that the project isn't open in VS.

To disable Server Trace you, I believe, have to remove the TRACE flag from the list of flags passed to the compiler.

You're looking for the
  <DefineConstants>
element. There'll be one for each build configuration you have defined (2 by default; "Release" and "Debug"). Just remove the word TRACE.

Note that if your solution has multiple projects, you have to do this for each project in the solution. At least, I think, for each project that accesses controls within an AjaxPanel.

As to whether or not this actually solves the problem at the start of this thread, we'll have to wait and see.

It is possible, given just how far behind the curve I usually am, that you all have all this knowledge readily to hand. But on the off-chance that someone is trying to deal with the same issue, I hope this will reduce your research time.

If, on the other hand, I've got all of this wrong, then hang around and you'll get to giggle at the fat boy getting scolded by a grown up for making up stories.

--
Stuart
Dan
Top achievements
Rank 1
 answered on 12 Mar 2009
6 answers
107 views
I am using following code for Date picker but calendar object ($find(<%=RadCalendar1.ClientID%>)) is always coming null. So not able to attach event.
function onDateClickHandler1()
{
 
alert("First handler called");
}
function pageLoad()
{
 
var calendar = $find(<%=RadCalendar1.ClientID%>);
 calendar.add_dateClick(onDateClickHandler1);
}

Dimo
Telerik team
 answered on 12 Mar 2009
6 answers
212 views
Hi,

I use RadEditor to edit a field in a grid.
I have a toolbar like this - and I use the resource files for localization.
<tools name="DropdownToolbar" > 
        <tool name="FontName" /> 
        <tool name="RealFontSize"/>  
        <tool name="ApplyClass"/>  
        <tool name="FormatBlock"/>  
        <tool name="FormatStripper" /> 
        <tool separator="true"/>  
        <tool name="InsertCustomLink"/>  
        <tool name="InsertSnippet" /> 
        <tool name="InsertSymbol" /> 
    </tools> 
This works fine for the first time.
It shows some comboboxes - they show:
Font Name X|| Tat...X || CSS Klasse...X || Absatzstil X and so on.
So the Text gets shortened on some imtes - seems OK.
Beneath every Text (i made an X) is the little "dropdown arrow".

When I open the editor a second time it looks disrupted.
The toolbar becomes about half the width and the texts look like:
FontXN || Tat..X || CSXS || AbsaXt || and so on.
So the text is cut of - and the dropdown arrow is "over the text".

Always when I hit F5 (Reload) it looks good for one edit - than it becomes bad again.

I also tried to set width on the imtem - this works - for the first time - after this it looks bad again.
This happens with IE (I use V 7) - with FireFox it looks quite different.

The text is not shortended with dots (simply cut of) -- but it stays the same with reocuring edits.

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 12 Mar 2009
1 answer
182 views
hi there,

i'm currently fixing a bug wherein the rad tool tips appears as the user hits enter.

basically, i have an image button that would display the tooltip when it's clicked. (note that i want the tooltip to be closed manually). the issue is that image button is "being clicked" when the enter key is pressed. 

the image button and tooltip is inside a user control thats being used throughout pages. basically, we drop that user control beside textboxes throughout the screens. so i really wanna solve this problem inside the user control and not deal with all the textboxes throughout the application.

i was thinking that the showevent=fromcode is a possible way to solve this.  so what i wanted to do is put the logic on the onclientclick event of the imagebutton. i couldn't get it to work somehow.

any idea on how can i accomplish this? basically i wanna prevent the tooltip from being displayed when the user hits enter. it should only appear when the user actually "clicks" the imagebutton. any help would be deeply appreciated.

thanks a lot,
p
Tervel
Telerik team
 answered on 12 Mar 2009
2 answers
260 views
I have a raddatetimepicker control with the dateFormat and displayDateFormat set to 'MM/dd/yyyy HH:mm'.
However, when I retrieve the SelectedDate from the code behind, it is in a different format 'MM/dd/yyyy HH:mm:ss'.

I do not want the seconds. How can I get around this problem?
Daniel
Telerik team
 answered on 12 Mar 2009
3 answers
102 views
<telerik:RadComboBox id="RadComboBox1" runat="server" AllowCustomText="false" Skin="WebBlue" style="height: 23px;" 
 EnableTextSelection="false" HighlightTemplatedItems="false" Width="80px" Height="115px" Font-Size="11px" ForeColor="Gray" 
    > 
     
    <CollapseAnimation Duration="100" Type="InOutQuint" /> 
 
    <Items> 
        <telerik:RadComboBoxItem Text="One" Value="One" /> 
        <telerik:RadComboBoxItem Text="Two" Value="Two"/> 
        <telerik:RadComboBoxItem Text="Three" Value="Three"/> 
    </Items> 
    <ItemTemplate> 
        <asp:CheckBox runat="server" ID="CheckBox" onclick="stopPropagation(event);" Text='<%# DataBinder.Eval(Container, "Text") %>'/>  
    </ItemTemplate> 
</telerik:RadComboBox> 
 
 

Could someone please assist me in getting the above code block to show the text when the dropdown is opened?


Stephen
Top achievements
Rank 1
 answered on 12 Mar 2009
1 answer
92 views
Hi I need some help,

RadColorPicker(Q3) has a very strange look in a radgrideditcolumn (it looks ok everywhere else but in the grid). Basically the dropdown area moved quater inch to the right side and background rectangler still in the same position when I click the Edit image button. I have no clue what cause that. And more over when that particular page is scrolled i find that colorpicker is not moving along with the page.


Thanks,
Nagarjun S.
Tsvetie
Telerik team
 answered on 12 Mar 2009
1 answer
188 views

I would like to check every few seconds whether data in database changed and if so, update RadGrid, otherwise do nothing.

I use asp:Timer to make request every few seconds and in code-behind I am checking for databse condition. I would like to do ajax update of grid if condition is satisfied?

Has anyone achieved that?

Iana Tsolova
Telerik team
 answered on 12 Mar 2009
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?