Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
194 views
Hi, I have a question concerning the CHM help files:

Whenever I open the help file, it is displayed in a very small window. I have to resize this window every time I open the help file, because its size and position are not stored (which is very annoying).
Is there a possibility to change the behaviour for the current help files, so that the window size and position is stored?


If not, would it be possible to improve this for future help files?

I have read that the producer of the help file might be able to change this behaviour by setting an option in the CHM file (e.g. see here: http://help.lockergnome.com/windows2/save-permanently-position-size-chm-help-ftopict21462.html).


Thanks and best regards,
Martin
Martin
Top achievements
Rank 1
 answered on 08 Oct 2008
4 answers
174 views
Hi!

I've implemented the drag & drop from radGrid to radTreeView using one of the online examples. At the moment I'm using a hidden field for temporarily storing the node values. The problem is nodes use the values from DB and can appear multiple times in the tree and when I drag to a lower node with value that already exist, it's dropped on the first node with that value...

I could store the node value based on the tree structure (cobination of levels and indexes) and then save the DB values to node's text but I'm wondering if there's a more elegant way, like some kind of internal node value that's unique? Like ID (node.get_ID() won't work) or something...
Jure
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Oct 2008
3 answers
133 views
Hi,

We are using radgrid of Q2 2008 release. Edit is enabled via template forms. The form contains several textboxes, comboboxes, one image and a checkboxlist. Four of the comboxes are cascading comboboxes for country, state, city, town fields.

The problem is that when these four comboboxes are placed seperately on a form, they work pretty fast. When they are placed inside the FormTemplate of the grid the performance is nearly 7-8 times slower.  This issue also applies to other controls such as grid, tabs.

Can you please help us in finding a solutions to this issue ?

Thanks,
Oner
Sebastian
Telerik team
 answered on 08 Oct 2008
6 answers
143 views
Hello,
I have downloaded RadControls_for_ASP.NET_AJAX_Manual_2008.2.1001.zip
and unzipped it. But I can't read help, because when I try to open  file
RadControlsForASP.NET.AJAX.chm
I get   "The page cannot be displayed" message. How can I fix that?
Thank you
Evgeny
eugen100
Top achievements
Rank 1
 answered on 08 Oct 2008
3 answers
962 views
Is there a way to hide the week number column in the DatePicker without customizing the stylesheet? I've looked for an API property and haven't seen one. Did I miss it?

Thanks,
Terry

Vlad
Telerik team
 answered on 08 Oct 2008
1 answer
163 views

I am running an evaluation copy of RadUpload for AJAX, in a .NET 3.5 environment. I have been ordered to support upload up to four files of 10 MB each. I am assuming my users run IE 7. These files are then to be saved into a SQL database.

But I haven't got that far.

That is because, if we post two files of  ~9 MB, the Rad Progress Bar does not show up. (It works fine for just one file, or for four little files.) Instead we get the classic IE bar at the bottom of the page, which then goes for about 60 seconds before collapse. By "collapse", I mean the whole page goes blank and in the URL textbox, we see this - 
http://mysite.com/Restricted/UploadDocuments.aspx?RadUrid=55c9fb99-3278-423d-811a-5eb3284bd1fe. (note the "radurid", which is set by Telerik and not by me.)

It looks like it's timing out on POST, but I had thought I'd set the web.config -

  <httpRuntime executionTimeout="600" maxRequestLength="10240" requestLengthDiskThreshold="10240" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="300" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false"/>

I also tried setting in C:\WINDOWS\system32\inetsrv\MetaBase.xml under IIsWebVirtualDir, a "four ten-megabyte" limit:

  AspMaxRequestEntityAllowed="42949672960"

I have error reporting on the server but it is not sending me reports on the "error".

How can I find out what this "error" (if it is an error), actually is...?

Veselin Vasilev
Telerik team
 answered on 08 Oct 2008
1 answer
62 views
Hello All,


basically GridDateTimeColumncolumn cannot able to displays dates before 1980/1/1. So i not able to use this for Date Of Birth for people who Born before 1980.
How to solve this issue without using template column. i am created RadGrid runtime & add GridDateTimeColumn dynamically.using following code.

  GridDateTimeColumn boundColumn = new GridDateTimeColumn();
                  boundColumn.HeaderText = strColumnName;
                  boundColumn.DataField = Item.Value;
                  boundColumn.UniqueName = strColumnName;
                  boundColumn.DataFormatString = "{0:d}";
                  boundColumn.PickerType = GridDateTimeColumnPickerType.DatePicker;                  RadGridRow.MasterTableView.Columns.Add(boundColumn);

Thanks In Advance....
Vlad
Telerik team
 answered on 08 Oct 2008
1 answer
79 views
Hi

I have a Grid width PopUp style editing like :
....
<EditFormSettings EditFormType="Template" >      
                           <FormTemplate>
                           <asp:TextBox id="TextBox7"  runat="server"
                           Text='<%# DataBinder.Eval( Container, "DataItem.FieldName" ) %>'>
                        </asp:TextBox>
                        <br />
                           <asp:Button ID="UpdateButton" OnClientClick="GetNewData(this, event);" Text="Update"
                                 runat="server" />
                           </FormTemplate>
                                               
                       </EditFormSettings>
....

... and I have JavaScript finction like :

function GetNewData(sender, e)
{
  var grid = $get("Grid1");
  var inputs = grid.getElementsByTagName("input");
  for (var i = 0; i < inputs.length; i++)
  {  
    var input = inputs[i];
    if (input.id == "Grid1_ctl00_ctl05_" + "TextBox7")
    {
      alert(input.value);
    }  
  }
 }

Every thing work well but I have't got grid id directly from JavaScript code. I need this becoures I have to find control named "Grid1_ctl00_ctl05_TextBox7".
My question is : How can I get grid unique id like "Grid1_ctl00_ctl05_" ??? 

Regards
Krzysztpf
Yavor
Telerik team
 answered on 08 Oct 2008
1 answer
116 views
I would like to use one of my controls (tree view for example) out of my toolbox of 'RadControls for ASP.NET AJAX'. Only I don't want to make it AJAX enabled. Is there a way to do it? Or do I have to use another set of controls like' RadControls for ASP.NET'? Which is the one without AJAX functionality.
If I put this control on form it always requires ScriptManager.
Konstantin Petkov
Telerik team
 answered on 08 Oct 2008
2 answers
104 views
Hi
   Slider Mode in Pager style is not working in firefox..
My code is

<telerik:RadGrid ID="RadGrid1" CssClass="RadGrid" EnableTheming="False" EnableEmbeddedBaseStylesheet="False" AllowSorting="True" AllowMultiRowSelection="true" AllowMultiRowEdit="true"
                 Skin="" runat="server" Width="100%" AllowPaging="True" AutoGenerateColumns="False" PageSize="5"    >
                      <ItemStyle CssClass="RadGridItem"></ItemStyle>
                     <HeaderStyle CssClass="RadGridHeader"></HeaderStyle>
                    <PagerStyle Mode="Slider" alwaysvisible="True" pagebuttoncount="5" CssClass="RadGridPager"></PagerStyle>
          
                     <ClientSettings EnablePostBackOnRowClick="false">
                        <Selecting AllowRowSelect="true" />
                    </ClientSettings>
                      <MasterTableView CommandItemDisplay="Top" DataKeyNames="SUserID" EditMode="InPlace" AutoGenerateColumns="False"   Width="100%">
                            <CommandItemTemplate>
                                <div style="padding:10px 0px;" class="newtd">
                                    &nbsp;&nbsp;
                                    <asp:LinkButton Style="vertical-align: bottom" ID="btnEditSelected" runat="server"
                                    CommandName="EditSelected" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count = 0 %>' ><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Edit.gif" /> Edit Selected PowerAdmin</asp:LinkButton>
                                    <asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Save.gif" /> Update PowerAdmin</asp:LinkButton>
                                    &nbsp;
                                    <asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count > 0 Or RadGrid1.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Cancel.gif" /> Cancel editing</asp:LinkButton>
                                    &nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Are You Sure ?');"
                                    runat="server" CommandName="DeleteSelected" CausesValidation="false" ><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Delet.gif" /> Delete Selected PowerAdmin</asp:LinkButton>
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Refresh.gif" /> Refresh </asp:LinkButton>
                                </div>
                            </CommandItemTemplate>
                            <Columns>

                                <telerik:GridTemplateColumn UniqueName="SrlNo" AllowFiltering="False"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="2%" >
                                <ItemTemplate  >
                                    <asp:Label ID="lblSrlNo"  runat="server"  />&nbsp;&nbsp;
                                </ItemTemplate>                               
                                </telerik:GridTemplateColumn>
                                 <telerik:GridClientSelectColumn HeaderStyle-Width="3%" />
                                <telerik:GridBoundColumn DataField="SUserID" UniqueName="SUserID"  Visible="False"   ReadOnly="True"></telerik:GridBoundColumn>

                                <telerik:GridBoundColumn  DataField="Email" UniqueName="Email" SortExpression="Email" ItemStyle-HorizontalAlign="Left" HeaderText="Email" ShowSortIcon="false"  ></telerik:GridBoundColumn>
                               
                                <%--<telerik:GridTemplateColumn   UniqueName="Password"  HeaderText="Password" ItemStyle-HorizontalAlign="Left"   >
                                  <ItemTemplate>
                                     <asp:HyperLink ID="hplReset" style="cursor:pointer"   runat="server" Enabled='<%# Container.DataItem("SUserId") %>' OnClick='<%# "fn_Change(this," & Container.DataItem("SUserId") & ")" %>'
                                 Text="Reset">
                                </asp:HyperLink>
                                 </ItemTemplate>

                                    </telerik:GridTemplateColumn>--%>
                                    <telerik:GridTemplateColumn   UniqueName="Password"  HeaderText="Password" ItemStyle-HorizontalAlign="Left"   >
                                        <ItemTemplate>
                                                <asp:Label ID="lblrad" runat ="server" Text ="************" ></asp:Label>
                                        </ItemTemplate>
                                        <EditItemTemplate >
                                            <input type ="text" id="Text1" value ="************" name='<%# Container.DataItem("SUserId")%>' onclick='openPrompt(this.name)' class="textbox" readonly="true" />
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn  DataField="UserStatus" UniqueName="UserStatus" HeaderButtonType="TextButton" HeaderText="Status" ItemStyle-HorizontalAlign="Left"   >
                                <ItemTemplate>
                                    <asp:Label ID="lblStatus"     runat="server" text='<%# IIf(Container.DataItem("UserStatus")= 0,"Enabled","Disabled") %>' />
                                </ItemTemplate>
                                <EditItemTemplate >
                                <asp:RadioButton GroupName="grpuserstatus" runat="server" ID="checkDisable" text="Disabled" Checked='<%# IIf(Container.DataItem("UserStatus")= 0,"False","True") %>'/>
                                <asp:RadioButton  GroupName="grpuserstatus" runat="server" ID="checkEnable" text="Enabled" Checked='<%# IIf(Container.DataItem("UserStatus")= 0,"True","False") %>'/>

                                </EditItemTemplate>

                                </telerik:GridTemplateColumn>

                            </Columns>
                                  <EditFormSettings >
                                            <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                                            <FormCaptionStyle CssClass="RadGridHeader"></FormCaptionStyle>
                                            <FormMainTableStyle BackColor="White" GridLines="Horizontal" CellPadding="3" Width="100%" CellSpacing="0"></FormMainTableStyle>
                                            <FormTableStyle CellSpacing="0" CellPadding="2" CssClass="module" Height="110px" BackColor="White" />
                                            <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                                           <EditColumn CancelText="Cancel edit" InsertText="Insert Order"  UniqueName="EditCommandColumn1" ButtonType="ImageButton" UpdateText="Update record"></EditColumn>
                                            <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
                                  </EditFormSettings>

                                    <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px"></HeaderStyle>
                                    </ExpandCollapseColumn>

                                    <RowIndicatorColumn>
                                    <HeaderStyle Width="20px"></HeaderStyle>
                                    </RowIndicatorColumn>
                       </MasterTableView>

                                <FilterMenu EnableTheming="True" Skin="WebBlue" enableembeddedbasestylesheet="False">
                                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                </FilterMenu>

                                <AlternatingItemStyle CssClass="RadGridItem"></AlternatingItemStyle>

                                <SortingSettings  SortToolTip="Click here to sort Email"></SortingSettings>
                 </telerik:RadGrid>



Need Help..




nallamani
Top achievements
Rank 1
 answered on 08 Oct 2008
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?