Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
276 views

Hi!

I need your help one more time. I want to puts a button or hyperlink (or something for the user can interact for do any action to the radscheduler) but I don't know how to do it.

I read a lot of manuals and this told me that I have to write any code in javascript, but then when I run the project, it doesn't works...

Can anyone tell me or explain me how I can insert a button or hyperlink in the header of the radscheduler control? And then, the button will have events or I have to add in code.

I wait your responses :)

Regards!

Ivan Danchev
Telerik team
 answered on 07 Aug 2015
3 answers
179 views
Hi,

i have undefined values when i try to define my own columns, when AutoGenerateColumns = "true" it works fine.

<telerik:RadGantt ID="RadGantt1" runat="server" SelectedView="MonthView" Skin="Silk"  ReadOnly="true" AutoGenerateColumns="false" ListWidth="351px" DataSourceID="TaskSource" DependenciesDataSourceID="DependenciesSource" >
            <YearView UserSelectable="true" />
            <DayView UserSelectable="false" />
            
            <Columns>
                <telerik:GanttBoundColumn DataField="Naziv" DataType="String" Width="120px" AllowEdit="true"></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="DatumOd" DataType="DateTime"  Width="40px" ></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="DatumDo" DataType="DateTime"  Width="40px" ></telerik:GanttBoundColumn>
            </Columns>
            
            <DataBindings>
                <TasksDataBindings
                    IdField="IdAkcije"  
                    StartField="DatumOd" EndField="DatumDo"
                    ParentIdField="Dependence" SummaryField="Summary"
                    TitleField="Naziv"
                    PercentCompleteField="PercentComplete"  />
                <DependenciesDataBindings
                     IdField="IdAkcije"
                    PredecessorIdField="PredecessorID"
                    SuccessorIdField="SuccessorID"
                    TypeField="Type" />
            </DataBindings>
            <Localization HeaderMonth="<%$ GetString: 24_Py_Mjesec %>" HeaderWeek="<%$ GetString: 00_Pub_Week %>" />
        </telerik:RadGantt>
    </div>

    <asp:SqlDataSource runat="server" ID="TaskSource" ConnectionString="<%$ ConnectionStrings: HrNet.Core.SqlServer %>" SelectCommandType="StoredProcedure" SelectCommand="gorGanttPregled" ProviderName="System.Data.SqlClient">
    </asp:SqlDataSource>

    <asp:SqlDataSource runat="server" ID="DependenciesSource" ConnectionString="<%$ ConnectionStrings: HrNet.Core.SqlServer %>" SelectCommandType="StoredProcedure" SelectCommand="gorGanttDependanciesPregled" ProviderName="System.Data.SqlClient">
    </asp:SqlDataSource>
Sypher
Top achievements
Rank 1
 answered on 06 Aug 2015
5 answers
742 views

Hi,

 

I am using Telerik.Web.UI.RadAsyncUpload v4.0.30319

ContentType for MSG Files are always returning as null. I tried uploading file with HtmlInputFile control, and that retrieves it fine. How can I get it to work with RadAsyncUpload ?

 

Note: I have the mime type (.msg application/vnd.ms-outlook) set in my local IIS where I am running my site.

 

Thanks

Purna

Greg
Top achievements
Rank 1
 answered on 06 Aug 2015
2 answers
132 views

I want to be able to have a checkbox on the page that when checked, the RadGrid uses paging, when unchecked, the RadGrid shows all results. How can I accomplish this? 

 

Thank you for your help.

TS
Top achievements
Rank 1
 answered on 06 Aug 2015
4 answers
183 views
Trying to set RadSearchBox Datasource in  Grid ItemDataBound event but only get message saying DataSource not set.
Hristo Valyavicharski
Telerik team
 answered on 06 Aug 2015
1 answer
310 views

Hello,

Is there a client-side event for when a RadPageView has finished loading? What I'm looking to do is when a RadTab is clicked for the specified RadPageView, I want to display a "loading..." message while the RadPageView's contentURL loads then hide it once the loading has finished.

Ivan Danchev
Telerik team
 answered on 06 Aug 2015
5 answers
259 views

Hello,

I have come across a problem with the editor when set NewLineMode="Br" and try to align text..
We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45.
After upgrade new version that some functionality are messed up.

When I type some text in the editor with enter then html will generate as below.

test<br><br>test<br><br>test<br><br>test<br><br>test

 
Now lets say the I want to set the alignment to center for the middle line of 
text on Design mode

Then this happens over HTML view:
<p style="text-align: center;">test<br><br>test<br><br>test<br><br>test<br><br>test</p>

Which of cause means that all the text is aligned to center
However I just need centering the middle line which I had my cursor on.
This can easily be reproduced on your demo site as well(Chrome and IE 11 browser).

refer link : http://screencast.com/t/y4VEIHvlvM

Is there any fix or workaround for this issue?

Please suggest.
Thanks.

Ianko
Telerik team
 answered on 06 Aug 2015
5 answers
174 views

HI 
I’m trying to determine the column of a cell. 

I have a _ItemDataBound event in my code where I change the color of the cell based of the value (.text) …no big deal.
But now I need to determine in which column a cell is. Because I need to call a stored procedure to get some additional values, but I just need to do that for all rows of one column and not for all of them. 
How can I determine if a cell is in the column where I have to call the procedure? 
Thanks for any hint

Best regards
Dennis 


Dennis
Top achievements
Rank 1
 answered on 06 Aug 2015
3 answers
138 views

Hi

I am trying to get the reference of a link button from a template column based the row index. Ideally upon getting the control i want to call the custom command associated with that button on that row. Can you please let me know how to achieve this in the below code.

 

var row = $find("<%=rgmyGrid.ClientID %>").get_masterTableView().get_dataItems()[rowIndex];
     var   lnkBtn=   row.findcontrol("lBtnMyLinkButton")
        lnkBtn.fireCommand("ReleaseORTakeControl");​

Eyup
Telerik team
 answered on 06 Aug 2015
3 answers
101 views
my chart has open end on right side.
how can I tell it to close the plot area?
Vessy
Telerik team
 answered on 06 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?