Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
157 views
Hi All,

OK I've now done a fair bit of stuff with batch editing but have only just tried to work on it with a combo box while doing the saving myself.

I want to send the values to the server for bulk processing after the user has finished admin.  To that end after each row change I am parsing all the rows and adding the changed value to a comma delimited hidden field.  I wish there was a way to access all the changes fror all rows on teh server but until that day I need to do this fairly awful work around.

The problem that I have is that text fields are fine BUT when I am trying to work out the selected value of a combo box I draw a blank.  Sample code below.

-- The javascript
 
uxRadGrid_MasterTable_row.get_cell("ContactId").innerText
 
-- the column def
 
<telerik:GridTemplateColumn DataField="ContactId" HeaderText="Contact" UniqueName="ContactId" >
<ItemTemplate><%# Eval("Name")%></ItemTemplate>
<EditItemTemplate>
<span>
<telerik:RadComboBox ID="uxContactId" Runat="server"  .....></telerik:RadComboBox>
</span>
</EditItemTemplate>
</telerik:GridTemplateColumn>

I have tried all kinds of things but just cannot access the ID field.  Accessing the selected text is easy but not the id..

Any suggestions?

Regards

Jon
Jon
Top achievements
Rank 1
 answered on 10 Mar 2015
1 answer
94 views
I am new to using the RadComboBox and using it as a trial basis to see if it fits what we need.

I have RadComboBox set up to use checkboxes, have Check All enabled, and being databound to a dataset.

This is set in an ASP.Net page with VB.Net as the code-behind.

So I have a few questions.

Is there an easy way to programmatically check all items in the combobox after being databound without using a for loop?

What is an easy way to get all the items that have been check marked by the user?

Sincerely,
Keith Jackson
Ivan Danchev
Telerik team
 answered on 10 Mar 2015
4 answers
126 views
Hi,

I would like to disable or handle the JS error popups somehow on the scheduler specially working with the webservice binding approach. 
I am receiving such as; "clone error: No target element specified"

Yes, my scheduler may be missing some data, however, I cannot determine the causes right away.

thank you
Plamen
Telerik team
 answered on 10 Mar 2015
3 answers
59 views
I want to show the next available time slot to the user. I.e., If user enters start date time as 3-02-2015 :09:00:00 with the length of 30minutes, we have to find out the time slot available for the given date time with 30minutes length, if there is no time slot available at the given time we need to show the next available time slot it may be some other date or some other time but the next available time slot should be greater or equal to 30minutes length.

Is there a way to do this? 
Boyan Dimitrov
Telerik team
 answered on 10 Mar 2015
3 answers
180 views
Hi there
             As i needed the culture property for telerik controls I have just upgraded my telerik version(2008) to 2010.3.1317.35. Once the upgradation done everything works fine but all the controls especially telerik RadGrid showing some style issue.
For instance the pagination has gone vertical instead of horizontal, also there are some spacing issues.
I have searched the telerik forums & followed the procedures carefully while upgrading, like replacing the old DLLs with new ones &
adding the references wherever needed. I couldnt get an idea of where im going wrong or what i need to do. Please assist me in this regard & help us sort it out as we're nearing our deployment. For ur info i've attached the screen shot & the mark-up code for that


<telerik:RadGrid ID="dgApplications" runat="server" Width="98%" AutoGenerateColumns="False"
        GridLines="None" OnDeleteCommand="dgApplications_DeleteCommand" AllowFilteringByColumn="false"
        AllowSorting="True" EnableAJAX="True" AllowPaging="True" PageSize="10" Skin="Office2007">
        <MasterTableView DataKeyNames="Id" HorizontalAlign="NotSet" CellSpacing="0">
            <Columns>
                <telerik:GridTemplateColumn UniqueName="Name" ItemStyle-Width="15%" AllowFiltering="False">
                    <ItemTemplate>
                        <asp:Panel ID="pnlAction" runat="server">
                            <p style="padding-left: 6px;">
                                <asp:HyperLink ID="lnkViewFile" CssClass="input-button-forms" runat="server" Visible='<%# ShowViewLink  %>'
                                    ToolTip="View File" Text="<%$ Resources:eRSOLanguage, View %>" />
                                <asp:HyperLink ID="lnkWorkOnFile" CssClass="input-button-forms" runat="server" Visible='<%# ShowWorkOnFileLink %>'
                                    ToolTip="Work On File" Text='<%# EditLinkText %>' />
                                <asp:HyperLink ID="lnkClone" CssClass="input-button-forms" runat="server" Visible='<%# ShowCloneLink %>'
                                    ToolTip="Clone File" Text="<%$ Resources:eRSOLanguage, ApplicationListClone %>" />
                                <asp:LinkButton ID="lnkUnlock" CssClass="input-button-forms" CommandName="Unlock"
                                    CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                    runat="server" ToolTip="Unlock" Text="Unlock" Visible="false" />
                                <asp:LinkButton ID="imgbtnDelete" CssClass="input-button-forms" runat="server" CommandName="Delete"
                                    CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                    AlternateText="<%$ Resources:eRSOLanguage, Delete %>" Text="<%$ Resources:eRSOLanguage, Delete %>" Visible='<%# HasDeletePermission %>' ToolTip="Delete"
                                    OnClientClick="javascript: return confirm('Localize(RemoveConfirmAL)');" />
                                <asp:HyperLink ID="ViewEventColumn" CssClass="input-button-forms" runat="server"
                                    Visible='<%# ShowEventLink %>' ToolTip="View Events" Text="<%$ Resources:eRSOLanguage, ApplicationListEvents %>" NavigateUrl='<%# "~/Researcher/HomePage/MyEvent.aspx?FileNo=" + DataBinder.Eval(Container.DataItem, "FileNo").ToString()+"&amp;ReturnAddress=~/Researcher/HomePage/MyApplicationList.aspx"%>' />
                                <asp:Label ID="lblAlreadyLocked" runat="server" CssClass="error-Message" Visible="False"></asp:Label>
                            </p>
                        </asp:Panel>
                        <asp:Panel ID="pnlError" Visible="False" Style="padding-left: 6px; padding-top: 4px;
                            padding-bottom: 4px;" runat="server">
                            <asp:LinkButton ID="lnkDeleteInvalidApp" CssClass="input-button-forms" runat="server"
                                CommandName="Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                AlternateText="<%$ Resources:eRSOLanguage, Delete %>" Text="<%$ Resources:eRSOLanguage, Delete %>" Visible="true" ToolTip="<%$ Resources:eRSOLanguage, Delete %>" OnClientClick="javascript: return confirm('Localize(RemoveConfirmAL)');" />
                            <asp:Label ID="lblError" runat="server" CssClass="error-Message"></asp:Label>
                        </asp:Panel>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                </telerik:GridTemplateColumn>
                <telerik:GridBoundColumn SortExpression="ProjectTitleDisplay" ItemStyle-Width="20%"
                    DataField="ProjectTitle" UniqueName="ProjectTitleDisplay" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListProjectTitle %>"
                    ItemStyle-Height="22px" />
                <telerik:GridBoundColumn SortExpression="PrimaryInvestigatorFullName" ItemStyle-Width="15%"
                    DataField="PrimaryInvestigatorFullName" UniqueName="PIFullNameDisplay" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListPrincipalInvestigator %>" />
                <telerik:GridBoundColumn SortExpression="FileNo" DataField="FileNo" ItemStyle-Width="5%"
                    UniqueName="FileNo" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListFileNo %>" />
                <telerik:GridBoundColumn SortExpression="ApplicationFormName" ItemStyle-Width="15%"
                    DataField="ApplicationFormFullName" UniqueName="ApplicationFormName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListApplicationFormName %>" />
                <telerik:GridBoundColumn SortExpression="WorkFlowStateName" ItemStyle-Width="10%" DataField="WorkFlowStateName"
                    UniqueName="WorkFlowStateName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListWorkFlowState %>" />
                <telerik:GridBoundColumn SortExpression="ProjectStatusName" DataField="ProjectStatusName"
                    UniqueName="ProjectStatusName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListProjectStatus %>" />
                <telerik:GridBoundColumn SortExpression="LastSavedDate" ItemStyle-Width="10%" DataField="LastSavedDate"
                    UniqueName="LastSavedDate" DataFormatString="&lt;nobr&gt;{0:yyyy/MM/d}&lt;/nobr&gt;"
                    HeaderText="<%$ Resources:eRSOLanguage, ApplicationListLastSaved %>" />
                <telerik:GridTemplateColumn UniqueName="Message" ItemStyle-Width="10%" HeaderText="<%$ Resources:eRSOLanguage, Message %>"
                    AllowFiltering="False">
                    <ItemTemplate>
                        <asp:Label ID="lblLastWorkflowLog" runat="server" Text="Label"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle ForeColor="Black" />
                </telerik:GridTemplateColumn>
            </Columns>
            <ExpandCollapseColumn Visible="False">
                <HeaderStyle Width="19px" />
            </ExpandCollapseColumn>
            <RowIndicatorColumn Visible="False">
                <HeaderStyle Width="20px" />
            </RowIndicatorColumn>
        </MasterTableView>
        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
        <GroupingSettings CaseSensitive="False" />
    </telerik:RadGrid>
Milena
Telerik team
 answered on 10 Mar 2015
1 answer
222 views
I have a batch edit telerik radgrid want a ClientEvents fired when a row is closing on edit mode.

Client Event OnBatchEditClosing and OnBatchEditOpening type something,is available for row eid open and close.

**OnBatchEditClosing**
This event is fired when a cell is closing.

**OnBatchEditOpening**
This event is fired when a cell is opening for edit
Konstantin Dikov
Telerik team
 answered on 10 Mar 2015
11 answers
324 views
Dear Telerik Team,

I am using RadGrid and a few splitter tricks for display and editing of large amount of data. In Edit mode, when the user keeps tabbing, the SAVE goes out of focus. Now the user has to click the right end of scrollbar to make the the Save appear all over again.

I am looking out to see if I can freeze the column that shows Update/Cancel (similar to the examples/demo shared out in http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-freeze-columns-in-radgrid.aspx)

How to make the column that shows Update/Cancel as Frozen? 
Venelin
Telerik team
 answered on 09 Mar 2015
6 answers
229 views
Dear All,
             I am using Telerik controls with Licensed version to my company, but some issue is occurring in RadGrid while we are using .net v4.0,
but it is working Good in .Net v2.0 with VS 2005 and same Radgrid dll for this.

When i click the RadGrid for sorting or Paging or Expanding Grid column in my application below error is occurred.
My Application is .Net Framework v4.0.(VS 2010) 
RadGrid Version: 3.0.2.0 
IE: 9.0
Operating System: Windows 7

Kindly solve this issue,
 
Thanks in Advance
Parameter count mismatch.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.Reflection.TargetParameterCountException: Parameter count mismatch.
 
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TargetParameterCountException: Parameter count mismatch.]
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +9353950
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
   Telerik.WebControls.RadGrid.x61efa10fcd646105() +178
   Telerik.WebControls.RadGrid.OnPreRender(EventArgs e) +728
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
  
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022


Regards,
Palani Kumar.A
Pavlina
Telerik team
 answered on 09 Mar 2015
9 answers
260 views
How to display duration column in radgantt treeview.
Felix
Top achievements
Rank 1
 answered on 09 Mar 2015
1 answer
119 views
Hi,
My company is planning to migrate and improve MS Access ERP application in web environment and we are also planning to keep using yours controls in our future development.
We already have some other application developted in  ASP.NET AJAX
Regarding Microsoft announcment that asp.net 5 will no longer support web forms and vb.net language,
is it now right time to choose ASP.NET MVC for a new projects?
What is your opinion regarding the Microsoft new turning point?
Will UX of telerik asp.net ajax controls be able to keep up with  ASP.NET MVC, let say in 5 years from now?

Tnx and keep up with good work.
Marin Bratanov
Telerik team
 answered on 09 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?