Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
Now this is REALLY weird. Upload has been working fine until today (or at least I think it has been) and I noticed that it is not uploading any files. I have tested it with my development and well as production and I get the same results.

I select an image, click Upload and the UploadedFiles has no files and InvalidFiles as no files. It is as if it is not doing anything. I havenot changed any code, so what is going on?
ClarkSRoberts
Top achievements
Rank 1
 answered on 25 Aug 2009
6 answers
350 views
I've searched through the forums and can't find a solid solution to this.

Here is the scenario:
  • I'm populating a RadTreeView with data from a sqldatasource.
    Here are the lines of code that set the data source and related fields.

                             DataFieldParentID="parentid" 
                             DataFieldID="id"                              
                             DataTextField="tooltip" 
                             DataNavigateUrlField="url"  
                             DataSourceID="SqlDataSource1" 

  • When i click on a node i want the NavigateUrl that has been set from the sqldatasource to open in a RadPane (that's located on the same page)



Matt Johnston
Top achievements
Rank 1
 answered on 25 Aug 2009
4 answers
252 views
Hi,

I have a RadMenu with 1 level of items.  I have given the "New" menu item an AccessKey of N.  When I hit on my keyboard alt+N it will select the menu item but not activate its postback like a click or hitting enter while focused on it would.  Is there a way to tell the control when its accesskey have been activated to perform a click?
Michael Arocho
Top achievements
Rank 2
 answered on 25 Aug 2009
1 answer
408 views
Hi,

Please I have 2 problems I can not solve in RadScheduler:
1- I can not manage the Row Height of the Cell in Monthly View, I try all the ways by change the RowHeight Property or by CSS and no effect, it is still the same and can not resize it.
2- In the TimelineView I have GroupingDirection="Vertical"  and I have many entry but if there is any appointment on one of the rows it look very wide in height and shift the rows down so every thing is shifted too and the Time Lines will not be corresponded to the Headers !

so PLEASE help me and tell me what is the problem.

* check this picture for the TimeLineView Problem on this link "http://www.mypicx.com/uploadimg/1747555670_08242009_1.jpg"

Thanks
Ban Shareef
Peter
Telerik team
 answered on 25 Aug 2009
1 answer
178 views
I recently posted this question in the ASP.NET Classic Controls forum, http://www.telerik.com/community/forums/aspnet/tabstrip/select-first-child-tab-in-tabstrip.aspx, since the problem was similar, but in case those forums are not checked/updated (and since I am using the newer set of ASP.NET AJAX Q3 2009 controls) I am reposting here.

I have a hierarchical RadTabStrip that is databound through a SqlDataSource.  I am trying to set up a "fallback" default scenario where if the FindByURL method does not find a match that the RadTabStrip defaults to the selecting the "deepest" value of the first tab.

For example, assume that FindByURL could not find a matching tab in the items below.  By default I would like Parent1GrandChild1 selected if the tabstrip has a 3 level hierarchy.  I would like Parent1Child1 to be selected if the tabstrip has a 2 level hierarchy, and Parent1 selected if it only has root level tabs.  I do not know how to always select the first tab item in the deepest level of the tabstrip.


Parent1                Parent2
Parent1Child1        Parent2Child1    Parent2Child2
Parent1Grandchild1    Parent1Grandchild2 


I also need to do this in the codebehind instead of the clientside script on page load and am using RadControls for ASP.NET AJAX [Version: 2009.2 701 (Jul 1, 2009)].
Veselin Vasilev
Telerik team
 answered on 25 Aug 2009
1 answer
94 views
I am using radscheduler to show TV programs schedule. The problem I am facing is, I have created 15 minutes slots in the scheduler control i.e. complete 24 hours of a day would have 4 x 24 = 96 Slots, drawn as boxes against 7 days. The scheduler looks like as follows:

Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Tue    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Wed    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Thu    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Fri      |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------

Now if a program is starting at 00:25 and ending at 00:40 (on Monday) it should be displayed as follows:
Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       |                 ||<   Program A >||   |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------

But it is getting displayed as follows:

Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       ||<               Program A           >||                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
i.e. it is taking whole of the two slots where any portion of it lies. Which is incorrect because now the start and end time it is showing is wrong. I couldn't figure out if there is any property in Rad Scheduler which could resolve the issue. I just want to know if there is some way to accomplish this.

regards 

Mohammad Kamran.
Peter
Telerik team
 answered on 25 Aug 2009
9 answers
562 views

Hi,

I am using the RadGrid (Q1 2007) for a project.

Is there a way I can stop the cells expanding to display all the content?

one of the fields contains a large amount of text data, that makes the grid look ridiculous. Can I limit it in some way to a max of two lines & then clip the rest?

I imagine this should be fairly simple to do, but im struggling to see how!

Thanks

Stephen.
Dimo
Telerik team
 answered on 25 Aug 2009
1 answer
110 views
Hi I have several range sliders. in IE8 only the selection end (MAX Value) handle can be dragged. the selection start (MIN VALUE) cannot.

when I have two sliders horizonatlly next to each other only the handle on the right slider can be dragged, is there any changes i need to make to get this to work?

i copied an example slider from your demo's and it had the same problem.

below is a very rough example of it not working

<div style="float:left">  
    <div style="width:220px;float:left">  
          
        <telerik:RadSlider runat="server" Width="200px" ID="RadSlider1" IsSelectionRangeEnabled="true" 
                        MinimumValue="0" MaximumValue="300" SmallChange="1" SelectionStart="0" SelectionEnd="300" 
                         AutoPostBack="false" 
                        ShowDecreaseHandle="false" ShowIncreaseHandle="false" > 
        </telerik:RadSlider></div>  
        <div style="width:220px;float:left">  
        <telerik:RadSlider runat="server" Width="200px" ID="RadSlider2" IsSelectionRangeEnabled="true" 
                        MinimumValue="0" MaximumValue="300" SmallChange="1" SelectionStart="0" SelectionEnd="300" 
                         AutoPostBack="false" 
                        ShowDecreaseHandle="false" ShowIncreaseHandle="false" ></telerik:RadSlider> 
</div> 
    </div> 

any help you can provide is appreciated.

Paddy
Tsvetie
Telerik team
 answered on 25 Aug 2009
2 answers
107 views
Hi,

is there a simple way to get the old (and the new values) of GridBoundColumns inside the update/insert command?

I have bound my data manually to the grid. (By setting the DataSource to a DataTable)
Three fields are relevant. (UID, DCId, MRDR_NR). I only showup some of these in the Editmode.
<mastertableview editmode="EditForms"   
                         enableheadercontextmenu="True"   
                         insertitempageindexaction="ShowItemOnFirstPage"   
                         ShowGroupFooter="True" InsertItemDisplay="Bottom" 
                         DataKeyNames="UID" CommandItemDisplay="Bottom">  
            <Columns> 
                <telerik:GridBoundColumn   
                    DataField="UID" ReadOnly="True"   
                    HeaderText="UID" UniqueName="UID" Visible="false">  
                </telerik:GridBoundColumn>      
                <telerik:GridBoundColumn DataField="DCId"   
                        HeaderText="DCId" UniqueName="DCId">  
                    <ItemStyle Width="100" /> 
                </telerik:GridBoundColumn>              
                <telerik:GridBoundColumn DataField="MRDR_NR" HeaderText="MRDR_NR" UniqueName="MRDR_NR">  
                    <ItemStyle Width="100" /> 
                </telerik:GridBoundColumn> 
            </Columns>                                                          
</mastertableview>  

Now i just want to update a value in my DataTable. Like (update xy set MRDR_Nr=NEW where UID=OLD).
How can i get the OLD and NEW Values inside the UpdateCommand?
I found an example to find out the OLD Values of my data. But not the NEW Values. And not by FieldNames.

protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)  
    {  
        GridEditableItem editedItem = e.Item as GridEditableItem;  
        GridEditManager editMan = editedItem.EditManager;  
        foreach (GridColumn column in e.Item.OwnerTableView.RenderColumns)  
        {  
            if (column is IGridEditableColumn)  
            {  
                IGridEditableColumn editableCol = (column as IGridEditableColumn);  
                if (editableCol.IsEditable)  
                {  
                    IGridColumnEditor editor = editMan.GetColumnEditor(editableCol);  
                    string editorText = "unknown";  
                    object editorValue = null;  
                    if (editor is GridTextColumnEditor)  
                    {  
                        editorText = (editor as GridTextColumnEditor).Text;  
                        editorValue = (editor as GridTextColumnEditor).Text;  
                    } 

Is there a way to get the data of my columns?
Like "item["DCId"].value" (old and new)?
Lars
Top achievements
Rank 1
 answered on 25 Aug 2009
75 answers
2.1K+ views
Hello,

I just installed new Q1, there are a lot of great thinks but new Skins are making me crazy.

Is it possible to use previous skins version ?
If you want details : new skins are too big, text is strange (too small or too bold), problems with layout.

Please help !
Ivo
Telerik team
 answered on 25 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?