Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views
First of all, this is what I have.

<RadPanelBar>
    <Items>
        <PanelItem Expanded ="true" Value="ReadContent">
            Read only controls
        </PanelItem>
        <PanelItem Expanded ="false" Value="EditContent">
            Writable controls
        </PanelItem>
    </Items>
</RadPanelBar>

and then expand/collapse is strictly controlled by a javascript automatically.
so you don't get to click anywhere to either expand or collapse panels.

Now my question is, is there any way to remove the height of the collapsed panel ? I see a little bit of height left within it. is there any way to remove it completely using a style or something ?

I'd appreciate your help.
Thanks,


I'd apprecaite it if you could help me.
Thanks.


Rosi
Telerik team
 answered on 25 Apr 2008
1 answer
136 views
I have a grid that is always in EditMode for all rows. 
(what happend to attachment's?  I would add a picture but... can't)

I need to be able to do an autopostback for the Quantity Column which works fine by setting it in ItemCreated like this:

 

Private Sub ItemsGrid_ItemCreated(ByVal sender As Object, _  
                                  ByVal e As GridItemEventArgs) _  
                                  Handles ItemsGrid.ItemCreated  
    If (TypeOf e.Item Is GridEditableItem AndAlso _  
               e.Item.IsInEditMode) Then  
        Dim item As GridEditableItem = CType(e.Item, GridEditableItem)  
        Dim editor As GridTextBoxColumnEditor = _ 
            CType(item.EditManager.GetColumnEditor("Quantity"),  _  
                  GridTextBoxColumnEditor)  
        With editor.TextBoxControl  
            .AutoPostBack = True 
            .EnableViewState = True 
        End With  
    End If  
End Sub  
 

Konstantin Petkov
Telerik team
 answered on 25 Apr 2008
4 answers
237 views
I am completely new to the Telerik suite of controls.

I found that I was having a great deal of trouble with configuring toolbars for SpellCheck. I could see that the demo code worked, and that if I used the default set of tools, it worked fine.

But adding my own EditorTool for "SpellCheck" yielded only "The command SpellCheck is not implemented yet", which is obviously not true.

I think the documentation should be amended to make it clear that the tool is now actually "AjaxSpellCheck".

Tomica
Top achievements
Rank 2
 answered on 25 Apr 2008
2 answers
139 views
Hi All

This is my first play with your controls, and whisle I got it all working with no problem, I'm having a problem with modifying a skin. I've read all the docs I can and tied several different configs , all to no eval.

I want to take the Default Slin and modify it. The docs say copy it from the install folder, register the CSS and use the new skin name.

The menu works, but has no styling, only the text of the menu (from a sitemapdatasource)

What is the destination of the copied files, currently I have copied then to my App-Themes folder under my app name, and how do I configure the control?

Andy
Andy
Top achievements
Rank 1
 answered on 25 Apr 2008
3 answers
225 views
Hello,

I'm currently trying to get the RadAjaxLoadingPanel to show up when the OnClientTimeSlotClick event is fired.  Currently the LoadingPanel shows up when insert, update and delete events are fired.  But anytime I call a javascript function it doesn't show up.  Since OnClientTimeSlotClick is a client side event related to the scheduler shouldn't the loading ClientEvents OnRequestStart execute?

Is there any way for me to get the Loading Panel to show when the OnClientTimeSlotClick is executed from the Scheduler?

function RequestStart(sender, eventArgs)

{

currentLoadingPanel = $find(

"<%=this.RadAjaxLoadingPanel1.ClientID%>");

currentUpdatedControl =

"<%=this.RadScheduler1.ClientID%>";

//show the loading panel over the updated control

currentLoadingPanel.show(currentUpdatedControl);

}

function ResponseEnd(sender, eventArgs)

{

//hide the loading panel and clean up the global variables

if (currentLoadingPanel != null)

currentLoadingPanel.hide(currentUpdatedControl);

currentUpdatedControl =

null;

currentLoadingPanel =

null;

}


function OnClientTimeSlotClick(sender, eventArgs)

{

var eventTimeSlotClicked = eventArgs.get_time();

var hdnCalendarStartDate = document.getElementById("<%=this.hdnCalendarStartDate.ClientID%>");

hdnCalendarStartDate.value = eventTimeSlotClicked;

__doPostBack(

"<%=this.hdnCalendarStartDate.ClientID%>", eventTimeSlotClicked);

}


On the ASP Page I have

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

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadScheduler1">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

</telerik:RadAjaxManager>

Thanks,
David

Dimitar Milushev
Telerik team
 answered on 25 Apr 2008
1 answer
184 views
the image editor is great- a number of my clients have been waiting anxiously for this.
i found a problem when resizing very large images-  the quality is shot.  is there a way to maintain 95% jpeg compression and use some of the more advanced imaging components in .net to achieve the thumb?
Shaun Peet
Top achievements
Rank 2
 answered on 25 Apr 2008
1 answer
101 views
Hi,

Can I bind content into a RadEditor when using it in a RadGrid in edit mode?  If so, how?

Thanks.
George
Telerik team
 answered on 25 Apr 2008
3 answers
209 views
Hi,

Is it possible to implement the exact same behavior that the one we have with the 

GridClientDeleteColumn

in an Image OnClick client event in a template column?

I mean the same behavior in the same order. The GridClientDeleteColumn make the row disapear before doing any custom ajaxrequest.

That gives a pretty nice user interaction, but i want it in a image in a template column if it can be possible.

So the real question is, can i delete a row from a client event other that the one on the GridClientDeleteColumn  so that the OnRowDeleted client event is raised.

Thanks,
Iana Tsolova
Telerik team
 answered on 25 Apr 2008
2 answers
142 views
Hi,
Few questions here!... (VB)
I have a grid that is used to display tasks. These tasks have a date/time that may or may not be 'overdue' (past current time)..
What i would like to do is..
1) Show rows with red background colour for overdue rows
2) Not have a 'description' column, but show the description as tooltip when hover over row
3) auto-size the columns to column content

Are these possible ? (i'm sure they are, just need help !)

Also, i have used (below), but how do i change the column header etc.. I seem to have 0 columns in collection

Many Thanks In Advance
Mark

Protected Sub grdTasks_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles grdTasks.NeedDataSource

grdTasks.DataSource = GetDataTable(query)

End Sub

Mark
Top achievements
Rank 1
 answered on 25 Apr 2008
1 answer
151 views
I have a toolbar button which cancels the postback to the server and then updates an AJAX panel on the page. When this completes the toolbar button is still highlighted. I have to click somewhere else for the highlight to go away.

This is not a major bug I know, but since the button's action has been completed it really shouldn't be highlighted anymore. I have multiple buttons with this behavior too. Is there a way I can fix this? I made a guess and tried setting button.set_focused(false); after canceling the event propagation, but this doesn't seem to do anything. It doesn't blow up either, so I'm guessing the set_focused method is there.

Any suggestions?

Thank you,
Terry

Erjan Gavalji
Telerik team
 answered on 25 Apr 2008
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?