Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
I have a grid that has a GridButtonColumn as the first column.  When the user clicks the button, the ItemCommand event is supposed to fire.  It does for some users but not all.  Everyone uses the same browser version & OS version (company configuration).

The grid is defined like this:
<t:RadGrid ID="rgTimeMaterial" runat="server" PageSize="200" AllowPaging="True" AllowSorting="True"
    AllowMultiRowSelection="true" AutoGenerateColumns="false" Height="510px" GridLines="Both"
    ShowFooter="False" CssClass="w980" ShowHeader="True" EnableViewState="true" >
    <HeaderStyle Wrap="false" />
    <MasterTableView EnableHeaderContextMenu="true" CellPadding="0" CellSpacing="0" AllowMultiColumnSorting="true"
        ClientDataKeyNames="Job_Number,EntityCode,AssignedTo" CssClass="w980">
        <Columns>
              . . .
        </Columns>                            
    </MasterTableView>
    <ItemStyle Font-Names="Arial,Helvetica,sans-serif" Font-Size="9pt" Wrap="false" />
    <ClientSettings ColumnsReorderMethod="Reorder" AllowColumnsReorder="True" AllowColumnHide="true"
        ReorderColumnsOnClient="True">
        <ClientEvents OnRowContextMenu="RowContextMenu" OnRowDblClick="OnRowDblClick" OnRowCreated="RadGrid1_RowCreated"
            OnRowSelected="RadGrid1_RowSelected" OnRowDeselected="RadGrid1_RowDeselected"
            OnRowSelecting="RadGrid1_RowSelecting" OnGridCreated="GridCreated" />
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
        <Scrolling SaveScrollPosition="true" AllowScroll="true" UseStaticHeaders="True">
        </Scrolling>
        <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ShowRowIndicatorColumn="true"
            ClipCellContentOnResize="true" AllowResizeToFit="true" />
    </ClientSettings>
    <PagerStyle Position="Top" Mode="NextPrevAndNumeric" AlwaysVisible="true" />
</t:RadGrid>


I'm also using a RadAjaxManager object that is defined as follows:
<t:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <t:AjaxSetting AjaxControlID="rgTimeMaterial">
            <UpdatedControls>
                <t:AjaxUpdatedControl ControlID="rgTimeMaterial" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </t:AjaxSetting>
      </AjaxSettings>
    <ClientEvents OnResponseEnd="RequestEnd" />
</t:RadAjaxManager>

Everyone's browser settings should be the same as they are configured by IT from the same "image".  Any help would be really appreciated!

Thanks,
James
Tsvetina
Telerik team
 answered on 16 Dec 2011
2 answers
418 views
This should be simple but I am getting an error 'oWnd is Null' in Firefox error console when the function is called
The context is an asp.net vb child page which uses a masterpage containing the Script Manager.

Can someone put me out of my misery?

The window is simply
<telerik:RadWindow ID="RadWindow1" runat="server">
   </telerik:RadWindow>

and the javascript is 

<script type="text/javascript">
        function UseRadWindow() {
            var oWnd = $find("<%= RadWindow1.ClientID %>");
            oWnd.show();
            oWnd.setSize(400, 400);
            oWnd.setUrl("http://www.yahoo.com");
            oWnd.minimize();
            oWnd.maximize();
            oWnd.restore();
        }
   </script>
Kevin
Top achievements
Rank 2
 answered on 16 Dec 2011
1 answer
123 views
Hi,

I have bunch of raddock zones in my page and the user of our page often changes the size/position of docks to their liking. So to achieve that we have used this piece of code:
var dockStates = dockLayout.GetRegisteredDocksState();
            var serializer = new JavaScriptSerializer();
            var converters = new List<JavaScriptConverter>();
            converters.Add(new UnitConverter());
            serializer.RegisterConverters(converters);
 
            string stateString = dockStates.Select(state => serializer.Serialize(state)).Aggregate(String.Empty, (current, ser) => current + "|" + ser);

This code works perfectly fine. Now our requirement is: the moment docks are repositioned/resized on the page, the preferences should be saved. I tried adding autopostback - true for all the individual rad-docks and also OnDockPositionChanged event and added the above code. But the code dockLayout.GetRegisteredDocksState() is not giving up-to-date change. 

Can you please assist on how to achieve this?
Regards,
Kishan G K
Slav
Telerik team
 answered on 16 Dec 2011
5 answers
158 views

Hi ,

I am using the radspell control in client side and this will be get  triggered when the user clicks on the external  button called [Spell check] .
When reaching last incorrect word in 'Not in dictionary' section in spell check window, on clicking the incorrect word the user is able to edit that wrong value. After editing that value the message will come as 'Spell check is complete'. On clicking the [Spell check] button again Spell check window dispalying with the edited value in "Not in dictionary " column and showing the mesage as "Spell check is complete"

Note : The issue is occurring while editing the last incorrect word only. If a word is corrected in middle of the spell check, this issue will not reoccur.

Can you help me out to clear that "not in dictionary" text box values ?

Rumen
Telerik team
 answered on 16 Dec 2011
6 answers
329 views
When spell checking any rich formatted text, I keep receiving the following error:

A potentially dangerous Request.Form value was detected from the client (CommandArgument=&quot;s&lt;teleriklf /&gt;&lt;teleri...&quot;).

I added the following to web.config, but it does not solve the problem:

<location path="Telerik.Web.UI.SpellCheckHandler.axd">

    <system.web>

        <pages validateRequest="false"></pages>

    </system.web>

</location>

Any ideas?

 

Rumen
Telerik team
 answered on 16 Dec 2011
9 answers
2.1K+ views
hi,
   how to resolve this error   " unrecognized tag prefix or device filter 'telerik' "

Thanks in advance


Zÿm
Top achievements
Rank 1
 answered on 16 Dec 2011
3 answers
413 views
In my project i am using Multi-column combobox... i need  insert, data text field and data value field to my database.. is this possible??? 
OR can i get two data value fields from a combobox? help me
Bozhidar
Telerik team
 answered on 16 Dec 2011
12 answers
167 views
Hello

I have a problem on Radscheduler with RadToolTip

Move an appointment, and juste after (before the scheduler is refresh), point your mouse on a appointment to show the tooltip... Result: the scheduler is not refreshed (UI doesn't get updated) .

I can reproduce this problem on your demo page :

To be sure to reproduce this, drag and drop the appointment on the other appopoointment, and before the scheduler is refreshed, show a tooltip. The result is : the appointments are not juxtaposed...

How can we prevent that ?

I use Q3 release (2011.3.1115.35)
Thanks
Peter
Telerik team
 answered on 16 Dec 2011
1 answer
88 views

When I change the "Page Size" from 10 to 20 the grid does not re-size to show all 20 and the nav bar. It scrolls the grid. I need the horizonal scroll bar as i display many items. I would like it to display all 20 items without scrolling.

<telerik:RadGrid AutoGenerateColumns="False" ID="grdPendingAuths" AllowSorting="True" AllowPaging="True" PagerStyle-AlwaysVisible="True" PagerStyle-Position="Bottom" PageSize="10"
    GridLines="Both" Skin="WebBlue" EnableEmbeddedSkins="false" BorderColor="#0066B3"
    BorderWidth="2" OnSortCommand="grdPendingAuths_SortCommand" OnNeedDataSource="grdPendingAuths_OnNeedDataSource"
    Width="9in" runat="server" CellSpacing="0">
    <ClientSettings>
        <Scrolling AllowScroll="true" UseStaticHeaders="false" SaveScrollPosition="false">
        </Scrolling>
        <ClientEvents OnGridCreated="GridCreated" />
    </ClientSettings>
    <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" />
    <MasterTableView TableLayout="Auto" Width="9in" AllowNaturalSort="false" >
        <Columns>
            <telerik:GridBoundColumn HeaderText="Status" DataField="ApprovalStatus" UniqueName="ApprovalStatus"
                SortExpression="ApprovalStatus" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="False"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Originator" DataField="CreatedBy" UniqueName="CreatedBy"
                SortExpression="CreatedBy" ItemStyle-Wrap="False" ShowSortIcon="False" ShowFilterIcon="False"
                ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="MemberID" DataField="MemberID" UniqueName="MemberID"
                SortExpression="MemberID" Visible="False" ShowSortIcon="False" ShowFilterIcon="False"
                ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Member Name" DataField="Member Name" UniqueName="MemberName"
                SortExpression="Member Name" ItemStyle-Wrap="False" ShowSortIcon="False" ShowFilterIcon="False"
                ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="AuthID" DataField="AuthID" UniqueName="AuthID"
                SortExpression="AuthID" Visible="False" ShowSortIcon="False" ShowFilterIcon="False"
                ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Auth #" DataField="AuthNumber" UniqueName="AuthNumber"
                SortExpression="AuthNumber" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width=".75in"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Bottom" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Adj #" DataField="AuthAmendment" UniqueName="AuthAmendment"
                SortExpression="AuthAmendment" ItemStyle-Wrap="False" HeaderStyle-Width=".3in"
                ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0}" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" DataType="System.Int32"
                HeaderStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Start Date" DataField="StartDate" UniqueName="StartDate"
                SortExpression="StartDate" DataType="System.DateTime" HeaderStyle-Width=".65in"
                ItemStyle-Wrap="False" DataFormatString="{0:MM/dd/yyyy}" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" HeaderStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="End Date" DataField="EndDate" UniqueName="EndDate"
                SortExpression="EndDate" DataType="System.DateTime" HeaderStyle-Width=".65in"
                ItemStyle-Wrap="False" DataFormatString="{0:MM/dd/yyyy}" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" HeaderStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Max Units" DataField="MaxUnits" UniqueName="MaxUnits"
                SortExpression="MaxUnits" ItemStyle-Wrap="False" HeaderStyle-Width=".3in" DataType="System.Int32"
                DataFormatString="{0:###,##0}" ItemStyle-HorizontalAlign="Right" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" HeaderStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Division" DataField="Division" UniqueName="Division"
                SortExpression="Division" ItemStyle-Wrap="False" HeaderStyle-Width=".5in" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" ItemStyle-HorizontalAlign="Center"
                HeaderStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Service Description" DataField="Service Description"
                UniqueName="ServiceDescription" SortExpression="Service Description" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False" ItemStyle-Wrap="False">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 16 Dec 2011
1 answer
142 views
Hi,

I have one combobox and two radlistboxes. The first listbox's datasource is changed when the comboboxes' selecteditemindex changes.

When I do the following:

Change combobox, pick two items from the first listbox and add them to the second listbox.
Change combobox again and pick another item and add it to the second listbox.

The items inside the second listbox are empty now.

Is there a workaround for this or am I doing something wrong (like resetting datasource or postback or so?).

Regards.
Bozhidar
Telerik team
 answered on 16 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?