Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
890 views

Hi All,

I have requirement in my project to select a required folder path using folder browse window.

After selecting the path, file name is appended and the file is generated in the selected path

How to implement it in Telerik

Thanks In Advance

Shinu
Top achievements
Rank 2
 answered on 30 Jul 2013
5 answers
114 views

<
Rad:RadGrid Height="350px" Width="100%" ID="RadGridFields" Skin="Windows7" BorderStyle="Solid" runat="server" AllowPaging="True"
    GridLines="None" AllowMultiRowEdit="true" AllowAutomaticUpdates="True" AllowSorting="True" AllowMultiRowSelection="false"
    OnUpdateCommand="RadGridFields_UpdateCommand" OnNeedDataSource="RadGridFields_NeedDataSource" OnItemDataBound="RadGridFields_ItemDataBound" AutoGenerateColumns="false">
 
    <MasterTableView TableLayout="Fixed" DataKeyNames="LabelText" EditMode="InPlace" AllowPaging="false" Width="100%" NoMasterRecordsText="">
      <Columns>
        <Rad:GridEditCommandColumn HeaderText="Edit" HeaderStyle-Width="55px" ButtonType="ImageButton" EditText="Edit" UniqueName="EditCol" />
 
        <Rad:GridTemplateColumn UniqueName="LabelText" HeaderText="LabelText" HeaderStyle-Width="200px" DataField="LabelText">
          <ItemTemplate>
            <%#DataBinder.Eval(Container.DataItem, "LabelText")%>
          </ItemTemplate>
          <EditItemTemplate>
            <Rad:RadTextBox runat="server" ID="textLabel" AutoPostBack="true" Height="140px" Width="200px" />
          </EditItemTemplate>
        </Rad:GridTemplateColumn>
 
        <Rad:GridTemplateColumn UniqueName="Mandatory" HeaderText="Mandatory" HeaderStyle-Width="80px" DataField="Mandatory">
          <ItemTemplate>
            <%#DataBinder.Eval(Container.DataItem, "Mandatory")%>
          </ItemTemplate>
          <EditItemTemplate>
            <Rad:RadComboBox runat="server" ID="comboMandatory" AutoPostBack="true" HighlightTemplatedItems="true" Height="140px" Width="80px" DropDownWidth="200px" OnSelectedIndexChanged="comboMandatory_SelectedIndexChanged" >
            <Items>
               <Rad:RadComboBoxItem Value="False" Text="False" />
               <Rad:RadComboBoxItem Value="True" Text="True" />
            </Items>
            </Rad:RadComboBox>
          </EditItemTemplate>
        </Rad:GridTemplateColumn>
 
        <Rad:GridTemplateColumn UniqueName="DefaultText" HeaderText="DefaultText" HeaderStyle-Width="200px" DataField="DefaultText">
          <ItemTemplate>
            <%#DataBinder.Eval(Container.DataItem, "DefaultText")%>
          </ItemTemplate>
          <EditItemTemplate>
            <Rad:RadTextBox runat="server" ID="textDefault" AutoPostBack="true" Height="140px" Width="200px" />
          </EditItemTemplate>
        </Rad:GridTemplateColumn>
      </Columns>
    </MasterTableView>
 
    <ClientSettings>
      <ClientEvents OnRowDblClick="editThisRow" OnCommand="onClientCommand" />
      <Scrolling AllowScroll="true" ScrollHeight="100%" />
      <Selecting AllowRowSelect="true" />
    </ClientSettings>
  </Rad:RadGrid>

I want to show some data on a radgrid. I want all the columns texts to be editable from the beginning. Later I want to save the data. Above I have given my code in ascx control. Noe this is my code in cs page 

protected void Page_Load(object sender, EventArgs e)
  {
    if (!IsPostBack)
    {
     RadGridFields.DataSource = gridTable;
    RadGridFields.DataBind();
 
    foreach (GridDataItem item in RadGridFields.MasterTableView.Items)
    {
      item.Edit = true;
    }
    RadGridFields.Rebind();
      }
    }
  }

When I run this all the columns become editable. But all the checkboxes contain false value and all textboxes contain blank value. I want previous datas to be there and from that data user can edit. If I remove 
foreach (GridDataItem item in RadGridFields.MasterTableView.Items)
    {
      item.Edit = true;
    }
    RadGridFields.Rebind();
      }

this part from code then all datas are there..when I double click on the then the row's data vanishes. Need Help..Thanks in advanced
Princy
Top achievements
Rank 2
 answered on 30 Jul 2013
2 answers
145 views
Hi Telerik,
I have a rad numeric textbox sitting within a radtabstrip and multipage.
The multipage is set to renderSelectedPageOnly and hence the tabstrip is set to autopostback.

I have found an issue with this however.
If I change the number in the numeric textbox and then switch tabs the new number is lost upon switching back to the original tab.
Viewstate is of course enabled.
If I alter the number, then move the focus to another element prior to switching tabs the change is retained.
I find this to be a big problem and am currently looking at putting a handler to onclienttabselecting to rectify the issue.

Note I have tested this same behaviour against a regular asp:textbox and the change is retained as I would expect.

Regards,
Matt
Matthew Botting
Top achievements
Rank 1
 answered on 30 Jul 2013
5 answers
141 views
I have special days added to the RadCalendar which is multiselect, and for those special days I set IsSelectable = true.
When I unselect the selected dates using unselectDates client side function, all other dates are unselected except the special days.
using following code to unselect;


RadCalendar1.unselectDates(RadCalendar1.get_selectedDates())


I am stuck, what should I do?


Regards,
Kash
Raoul Guenette
Top achievements
Rank 1
 answered on 29 Jul 2013
2 answers
305 views
We have a request to hide the page numbers and the page size but not the PagerTextFormat when the amount of records is less than the pagesize itself.  In other words, if there are 7 records but the minimum PageSize is 10, the Page Count and the Page Mode should not be visible.  And changing the PagerStyle AlwaysVisible to False hides everything.  

Can this be done without using CSS display none to all elements in the Pager Style?

Thank you,
Julio
Monte
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
181 views
Hi,
I want to know if there is sample application which use gauges and charts in a responsive html5 + css3 interface?
I want to see it in action, how the UI resized itself when the screen is small
etc...

I have to create a dashboard which fit perfectly on any device.

so does the Kendo UI can do this?
I don't see any demo like the competitors does...
Danail Vasilev
Telerik team
 answered on 29 Jul 2013
2 answers
275 views
My site is using the Sitefinity theme as it is the best fit for the site's overall look. But I've had to override the link color from the theme's default blue to match the company site colors. Since I'm only using a small # of radcontrols in the site, I've just been overriding the css instead of creating a new skin.

But I'm stuck. The Grid uses a DatePicker as the Filter control for DateTime columns. But I can't seem to find the right specificity to override the link color on the calendar popup. I've been using my browser's developer tools to view the page source and try to find the appropriate element classes, but I'm not having any luck.

Can anyone help pinpoint what I need to override to get the color to change?
Rayne
Top achievements
Rank 1
 answered on 29 Jul 2013
2 answers
478 views
Hello,
I am using a 3 level hericerical grid with client side loading. I have the showStatus,footer, paging enabled and Windows7 skin.

When i click on the Page numbers, a loading image shows up at the bottom right (Status Bar). How can i get the loading image showup in the center of the grid as seen in the demo below.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/paging/defaultvb.aspx?#qsf-demo-source


Sandeep
Top achievements
Rank 1
 answered on 29 Jul 2013
2 answers
87 views
I have a page with several rad controls on it, that locally looks fine on everyone's machine who uses this solution.

However once it is published to a web server, the controls no longer use the correct skin which is in the App_Themes folder.  I have checked for:

- Web.Config file has permissions to the folder (it does)
- Correct code is being published (it is)
- Same Telerik.Web.UI version on local as well as server (it is)
- Files are being properly published (they exist)
- Files are not corrupt and have the correct data (they do)

We are on Telerik.Web.UI version 2012.3.1308.40 

Attached are 2 sets of screenshots, one set marked Local, and the other Server...you can see what I am talking about.

Any ideas?
David
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
78 views
Hi

I am opening a pdf file in a radwindow on clicking a linkbutton and on closing the radwindow, the window structure disappears but I am able to view the pdf file as still active. This happens in IE only. Is this a bug? Else I will try to make a sample where this can be reproduced.

Thanks
Saravanan
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?