Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
197 views
Hi,

I have a requirement where I need to add runtime combobox/dropdownbox as a
child element of every parent node of TreeView control.

Data inside the combobox/dropdownbox will be fetched from Database and it will
be same for all the combobox/dropdownbox control.

Parent Node will be a simple text which also be fetch from the Database...

Kindly let me know how to achieve this functionality.

Regards,
Shailesh

Plamen
Telerik team
 answered on 06 Nov 2014
1 answer
107 views
Hi,
I have a web service bound scheduler which is tied to other .NET controls like Radgrid and timer  through ajax settings. I have a .net timer that refreshes scheduler and radgrid at an interval of 30 seconds. Scheduler works fine by itself but  it looses it's client state  after  asynchronous post-back by autorefresh.

For instance, my scheduler is in timeline view and on page load it shows current date and time, I click on calender control and select a date for December 15 2014, scheduler is rendered for Dec15 2014. However after timer refresh, scheduler defaults back to today's date and time.

Is it possible to persist client side changes on Radscheduler ?


Thanks,
Prava
Bozhidar
Telerik team
 answered on 06 Nov 2014
7 answers
156 views
Hi Team,

I have a grid which is having some rows in it. When I expand each row three tabs needs to show.
when I click on the each tab needs to display another grid.
I need to implement the batch editing functionality for that grid.

How to achieve this functionality.

Aspx file:

<telerik:RadGrid ID="LoadingRadGrid" OnItemDataBound="LoadingRadGridFormat_OnItemDataBound"
                            runat="server" AutoGenerateColumns="false" CssClass="TransferGridPanel" Height="375px"
                            Width="500px" OnNeedDataSource="LoadingRadGrid_NeedDataSource"
                             OnUpdateCommand="LoadingRadGrid_UpdateCommand" OnBatchEditCommand="LoadingRadGrid_BatchEditCommand" OnInsertCommand="LoadingRadGrid_InsertCommand"
                             OnItemCommand="LoadingRadGrid_ItemCommand" OnSelectedIndexChanged="LoadingRadGrid_SelectedIndexChanged" OnCancelCommand="LoadingRadGrid_CancelCommand"
                             AllowAutomaticInserts="false" AllowAutomaticUpdates="false" AllowAutomaticDeletes="false">
                            <MasterTableView ShowHeadersWhenNoRecords="true" CommandItemDisplay="Top" EditMode="Batch" DataKeyNames="Loading_ID">
                                <CommandItemSettings ShowRefreshButton="false" AddNewRecordText="Add NewLoad" />
                            <BatchEditingSettings EditType="Cell" />
                                <NestedViewTemplate>
                                
                                    <telerik:RadTabStrip runat="server" ID="LoadTabStip" MultiPageID="LoadMultipage" ClickSelectedTab="True"
                                        SelectedIndex="0" OnTabClick="LoadTabStip_TabClick" Orientation="HorizontalTop">
                                        <Tabs runat="server">
                                            <telerik:RadTab runat="server" Text="Details" PageViewID="RadPageViewDetails">
                                            </telerik:RadTab>
                                            <telerik:RadTab runat="server" Text="Compartments" PageViewID="RadPageViewCompartments">
                                            </telerik:RadTab>
                                            <telerik:RadTab runat="server" Text="Products" PageViewID="RadPageViewProducts">
                                            </telerik:RadTab>
                                        </Tabs>
                                    </telerik:RadTabStrip>
                                    <telerik:RadMultiPage runat="server" ID="LoadMultipage" SelectedIndex="0" RenderSelectedPageOnly="false">
                                   
                                        <telerik:RadPageView runat="server" ID="RadPageViewDetails">
                                       
                                            <div class="contactWrap">
                                                <table cellpadding="0" cellspacing="0">
                                                    <tr>
                                                       <td><asp:Label ID="lbl_TerminalId" runat="server" Text='Terminal Id:' Font-Bold="true"></asp:Label></td>
                                                       <td><asp:Label ID="lbl_TerminalIdValue" runat="server"></asp:Label> </td> 
                                                    </tr>
                                                    <tr>
                                                        <td><asp:Label ID="lbl_TerminalName" runat="server" Text='TerminalName:' Font-Bold="true"></asp:Label></td>
                                                        <td><asp:Label ID="lbl_TerminalNameValue" runat="server"></asp:Label> </td>
                                                       
                                                    </tr>
                                                </table>
                                            </div>
                                        </telerik:RadPageView>
                                        <telerik:RadPageView runat="server" ID="RadPageViewCompartments">
                                       
                                            <telerik:RadGrid ID="CompartmentLevelLoadRadGrid" runat="server" AutoGenerateColumns="false" CssClass="TransferGridPanel"
                                                Height="233px" Width="475px" OnItemDataBound="CompartmentLevelLoadRadGrid_ItemDataBound"
                                                OnUpdateCommand="CompartmentLevelLoadRadGrid_UpdateCommand" OnBatchEditCommand="CompartmentLevelLoadRadGrid_BatchEditCommand" OnInsertCommand="CompartmentLevelLoadRadGrid_InsertCommand">
                                                <MasterTableView ShowHeadersWhenNoRecords="true" CommandItemDisplay="Top" EditMode="Batch">
                                                     <CommandItemSettings ShowRefreshButton="false" AddNewRecordText="Add Line Item"/>
                                                     <BatchEditingSettings EditType="Cell" />                                              
                                                    <Columns>
                                                   
                                                        <telerik:GridBoundColumn UniqueName="CompNo" DataField="CompartmentIndex" HeaderText="Comp No." ReadOnly="true">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="PriorToLoad" DataField="PTL" HeaderText="PriorTo Load">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="PlannedLoadProd" DataField="PlannedProductName" HeaderText="Planned Product" ReadOnly="true">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="ActualLoadProd" DataField="ActualProductName" HeaderText="Actual Product" >
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="PlannedLoadQty" DataField="PlannedQuantity" HeaderText="Planned Quantity" ReadOnly="true">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="ActualLoadQty" DataField="ActualQuantity" HeaderText="Actual Quantity">
                                                        </telerik:GridBoundColumn>
                                                    </Columns>
                                                </MasterTableView>
                                            </telerik:RadGrid>
                                           
                                        </telerik:RadPageView>
                                        <telerik:RadPageView runat="server" ID="RadPageViewProducts">
                                       
                                            <telerik:RadGrid ID="ProductLevelLoadRadGrid" runat="server" AutoGenerateColumns="false" CssClass="TransferGridPanel"
                                                Height="233px" Width="475px" OnItemDataBound="ProductLevelLoadRadGrid_ItemDataBound" >
                                                <MasterTableView ShowHeadersWhenNoRecords="true">                                               
                                                    <Columns>
                                                        <telerik:GridBoundColumn UniqueName="PlannedLoadProd" DataField="PlannedProductName" HeaderText="Planned Product" Visible="false">
                                                        </telerik:GridBoundColumn>                                                    
                                                        <telerik:GridBoundColumn UniqueName="ActualLoadProd" DataField="ActualProductName" HeaderText="Product">
                                                        </telerik:GridBoundColumn>                                                       
                                                        <telerik:GridBoundColumn  UniqueName="PriorToLoadQty" DataField="PTL"  HeaderText="PriorTo Load">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="PlannedLoadQty" DataField="PlannedQuantity" HeaderText="Planned Quantity">
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn UniqueName="ActualLoadQty" DataField="ActualQuantity" HeaderText="Actual Quantity">
                                                        </telerik:GridBoundColumn>
                                                    </Columns>
                                                </MasterTableView>
                                            </telerik:RadGrid>
                                           
                                        </telerik:RadPageView>
                                    </telerik:RadMultiPage>
                                 
                                </NestedViewTemplate>
                               
                                <Columns>
                                    <telerik:GridBoundColumn UniqueName="LoadId" DataField="Loading_ID" ReadOnly="true">                                       
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="TerminalId" DataField="Plant_ID">
                                        <ColumnValidationSettings EnableRequiredFieldValidation="true">                                           
                                            <RequiredFieldValidator ForeColor="Red" Text="Plant_ID is required" Display="Dynamic">                               
                                            </RequiredFieldValidator>
                                        </ColumnValidationSettings>
                                    </telerik:GridBoundColumn>
                                   
                                    <telerik:GridBoundColumn UniqueName="TerminalName" DataField="TerminalName" ReadOnly="true">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="LoadingStartTime" DataField="LoadingStartTime" ReadOnly="true">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="LoadingEndTime" DataField="LoadingEndTime" ReadOnly="true">
                                    </telerik:GridBoundColumn>
                                </Columns>
                            </MasterTableView>
                            <ClientSettings>
                                <Scrolling AllowScroll="true" />
                            </ClientSettings>
                        </telerik:RadGrid>
Angel Petrov
Telerik team
 answered on 06 Nov 2014
0 answers
196 views
Hi All,

I'm Using Sitefinity 7.0, I'm trying to Creating Custom Module with help of Sitefinity Thunder,

while Build the solution it's getting "the remote server returned an error: (407) Proxy Authentication Required" Error.

I Added Default Proxy UseDefaultCredentials True, But no Luck , Please Help Me how to solve this issue

Thanks,
Ajay
Ajay
Top achievements
Rank 1
 asked on 06 Nov 2014
9 answers
364 views
Dear Forum,

I'd like to reduce the filter menu options in RadFilter but can find no way to do that. Does anyone have any guidance for me? I reduced the filter menu options for RadGrid by following this example:
http://www.telerik.com/help/aspnet/grid/grdreducingfiltermenuoptions.html

Thanks,
Celeste
Jeremy
Top achievements
Rank 1
 answered on 06 Nov 2014
10 answers
162 views
After learning about the TreeMap at your webinar, I've been doing a little bit of experimentation. The TreeMap might work well for displaying some aggregate information we want to display on a new website. However... it does not appear that the TreeMap has much in the way of navigation or events, or am I missing something?

The main part of the RadTreeMap has a NavigateUrl property. But the TreeMapItem controls do not appear to have any exposed click events or a NavigateUrl property. So how does Telerik expect one to do drill-through like clicking on the TreeMapItems to go to specific detail pages or trigger events?

I have experimented with several methods to do this but they are a bit of a kludge. So I'm curious how Telerik intended for this to work.

MO
Top achievements
Rank 1
 answered on 05 Nov 2014
1 answer
131 views
We are trying to use RADCompression on our website for compressing Viewstate only and do not see the viewstate getting compressed.  We wrote a small "hello world" website and can get the viewstate compression working perfectly on the test website, but not on the primary website.  We have compared the web.config and the browserFile.Browser file between the test and primary websites and they are the same.  Below is the configurations that we are using.  Is there any diagnostics that we can turn on to see what is happening within the RadCompression module?

The Browser File content
<!--
    You can find existing browser definitions at
    <windir>\Microsoft.NET\Framework\<ver>\CONFIG\Browsers
-->
<browsers>
    <browser id="NewBrowser" parentID="Mozilla">
        <identification>
            <userAgent match="Unique User Agent Regular Expression" />
        </identification>        <capture>
            <userAgent match="NewBrowser (?'version'\d+\.\d+)" />
        </capture>        <capabilities>
            <capability name="browser" value="My New Browser" />
            <capability name="version" value="${version}" />
        </capabilities>
    </browser>    <browser refID="Mozilla">
        <capabilities>
            <capability name="xml" value="true" />
        </capabilities>
    </browser>    <browser refID="Default">
      <controlAdapters>
        <adapter controlType="System.Web.UI.Page" adapterType="Telerik.Web.UI.RadSessionPageStateCompression" />
      </controlAdapters>
    </browser></browsers>




The web.config file only has

    <modules runAllManagedModulesForAllRequests="true">
  <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
 </modules>


We are not using the configSections sections in the web.config file. 


Pavlina
Telerik team
 answered on 05 Nov 2014
4 answers
136 views
Hi,

I am new to Telerik. I am trying to update the db with the help of the example provided Grid - RadToolBar as Command Item here  -http://demos.telerik.com/aspnet-ajax/toolbar/examples/applicationscenarios/gridcommanditem/defaultvb.aspx?product=grid , I removed the functions using quickstart, no delete, no insert. Just the  update function.

When I click on the Update button, it gives the message as updated "id updated", but it is not updated in the database.

//After so many tries this is the updated command that worked without errors like Oracle invalid table name or missing expression. Parameter = '@Parameter'

here is my sqlsource for update command

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServicesOracle %>"

ProviderName="<%$ ConnectionStrings:ApplicationServicesOracle.ProviderName %>"

UpdateCommand="update PM_table set COMET_DESCRIPTOR = '@COMET_DESCRIPTOR', COMET_TRANS_NOTES ='@COMET_TRANS_NOTES' where id= '@id' and year||month='@year||'@month'">

<UpdateParameters>

<asp:Parameter Name="COMET_DESCRIPTOR" Type="String" ></asp:Parameter>

<asp:Parameter Name="COMET_TRANS_NOTES" Type="String" ></asp:Parameter>

<asp:Parameter Name="year" Type="String" ></asp:Parameter>

<asp:Parameter Name="month" Type="String" ></asp:Parameter>

<asp:Parameter Name="id" Type="String" ></asp:Parameter>

</UpdateParameters>

</asp:SqlDataSource

>

codebehind .vb

Protected Sub RadGrid1_ItemUpdated(ByVal source As Object, ByVal e As Telerik.Web.UI.GridUpdatedEventArgs) Handles RadGrid1.ItemUpdated

If Not e.Exception Is Nothing Then

e.KeepInEditMode = True

e.ExceptionHandled = True

DisplayMessage(True, "id " + e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("id").ToString() + " cannot be updated due to invalid data. " + e.Exception.ToString)

Else

DisplayMessage(False, "id " + e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("id").ToString() + " updated")

 

End If
End Sub


 

 

 


Subhashini
Top achievements
Rank 1
 answered on 05 Nov 2014
1 answer
91 views
Hi All,
I would like to increase the height of the week view scheduler so as there is no scroll bar.
(see picture). Any suggestions?

Thanks Chris.
Nencho
Telerik team
 answered on 05 Nov 2014
4 answers
130 views
Hello,

I have to show all the appointment information untill i will mouse pointer remove from appointment...How can i show all that information and up to more time...
Tried with the Tooltip , but tool tip is for short time, and all the information is not customly arranged...
Will it be possible to cover both the one ? or any possibility to open the POP UP upon mouse over the appointment?

Please help me ASAP....

Regards
Samir
pankaj
Top achievements
Rank 1
 answered on 05 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?