Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
171 views
Sir,
I just started to develop asp.net web application using Rad Controls.In a web page i added a radtoolbar,radsplitter radpane radslidingzone,radsliding pane as shown in attached image.I have some doubts about the controls.And i explained my questions in the attached image.
Am a beginer in rad controls.
Please let me out of this.
Vessy
Telerik team
 answered on 10 Apr 2014
1 answer
229 views
Hi 

I have a situation where users are allowed to paste HTML content into the Rad Editor and in particular well formatted HTML tables with in line CSS and all.

Now all this HTML data should be shown in an SSRS report but the HTML tables don;t seem to be rendering upon some research I realized that SSRS supports only a  subset of HTML tags. A suggested solution is to save the HTML table as an image and show it as an image on the SSRS report. 

Is there a way where in we can convert the HTML content from the Rad Editor to Image and store it in the DB and render as is on the SSRS report ?

Thanks
Ianko
Telerik team
 answered on 10 Apr 2014
1 answer
106 views
Good afternoon,
I downloaded a latest release of Telerik Q1 14.Now I am experiencing a problelm on selectedindexchanged event.
I have RadGrid with a column.A few column I made visible = false:
<telerik:GridBoundColumn HeaderText="Title" DataField="POSITION" UniqueName="POSITION" ReadOnly="True"  >
                             
 </telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="TITLE" UniqueName="TITLE" Visible="false" >
 </telerik:GridBoundColumn>
  <telerik:GridBoundColumn HeaderText="Location" DataField="LOC" UniqueName="LOC" ReadOnly="True" >
                                       
  </telerik:GridBoundColumn>
  <telerik:GridBoundColumn DataField="MONTH" UniqueName="MONTH" Visible="false"  >
  </telerik:GridBoundColumn>

When I select row SelectedIndexChanged event file and I try to retrieve a value from the columns including invisible like this:
string pri = SummaryGrid.SelectedItems[0].Cells[2].Text;
string month = SummaryGrid.SelectedItems[0].Cells[5].Text;

but all visible columns works fine however invisible column like "MONTH" getting value "&nbsp;" instead of data.

I did not have this issue with the oldest release.

Please help me.

Thanks so much.
 
Eyup
Telerik team
 answered on 10 Apr 2014
3 answers
349 views
I've implemented Google-like filtering in my RadGrid FilterTemplate column similar to how its described here.  It works great except when you make a selection the value doesn't stay present in the RadComboBox.  Is there a way to accomplish this?  I tried using sender.set_text() but it doesn't seem to work.


<telerik:GridBoundColumn DataField="last_name" DataType="System.String" HeaderText="Last Name" SortExpression="last_name"
    UniqueName="last_name" ShowFilterIcon="True" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains">
    <FilterTemplate>
        <telerik:RadComboBox runat="server" ID="rcblast" DataTextField="last_name" DataValueField="last_name" EnableEmbeddedSkins="False" Skin="2015"
            Width="100px" EnableLoadOnDemand="True" MarkFirstMatch="True" ShowToggleImage="False" OnClientDropDownOpening="lastName_ClientDropDownOpening"
            OnClientSelectedIndexChanged="lastName_ClientSelectedIndexChanged" OnClientItemsRequesting="lastName_ItemsRequested"
            OnItemsRequested="rcblast_ItemsRequested">
        </telerik:RadComboBox>
        <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
            <script type="text/javascript">
                function lastName_ClientSelectedIndexChanged(sender, args) {
                    $find("<%= rgTraining.ClientID %>").get_masterTableView().filter("last_name", args.get_item().get_text(), "StartsWith");
                     
                    // doesn't seem to work
                    sender.set_text(args.get_item().get_text());
                }
                function lastName_ItemsRequested(sender, args) {
                    if (args.get_text().length < 3)
                        args.set_cancel(true);
                    else
                        args.set_cancel(false);
                }
                function lastName_ClientDropDownOpening(sender, args) {
                    var comboText = sender.get_text();
                    if (comboText.length < 3) {                                   
                        args.set_cancel(true);
                    }
                }                                                                                    
            </script>
        </telerik:RadScriptBlock>
    </FilterTemplate>                       
 
    <ItemStyle VerticalAlign="Top" />
    <HeaderStyle HorizontalAlign="Left" VerticalAlign="Bottom" Font-Bold="True" Font-Underline="True" />                               
</telerik:GridBoundColumn>




Princy
Top achievements
Rank 2
 answered on 10 Apr 2014
1 answer
194 views
Good Afternoon,
in my aspx page I have RadDatePicker control.When I click on it calendar popup and then I click the title area  of the title bar to choose different month and year  popup for some reason instead of appearing next to calendar it is appear on the top of the screen where I can barely see it.

Please help me.

Thanks so much.
Princy
Top achievements
Rank 2
 answered on 10 Apr 2014
2 answers
165 views
Hi Please Help me to Convert bellow Code Snippet to LINQ

foreach (RadComboBoxItem item in rdComboNames.Items)
                {
 
                    CheckBox chk = (CheckBox)item.FindControl("chk1");
                    if (i == 0)
                    {
                        checkedText += "Names:";
                    }
                    else if (chk.Checked)
                    {
                        checkedText += item.Text + ", ";
                    }
                    i++;
                }
Deekshith
Top achievements
Rank 1
 answered on 10 Apr 2014
5 answers
272 views
Hi all , 

First of all I have to apologise about my English . Hope you guys understand what I'm trying to explain .

I have a tree view with checkboxes .  We implemented node clicks to show the detail right next to the tree and the second click for editing node's name


The problem is we used to stick with the previous telerik version and we just upgraded to the latest version recently 

Right now it behaves totally like a checkbox and I know it's kindda make sense. 

But we are trying to find the way to disable the CLICK on node label . 

Is there any workaround for this?


Thank you so much in advance 




Marut
Top achievements
Rank 1
 answered on 10 Apr 2014
3 answers
131 views
I am having an issue getting the 'Select' to work in the RadUpload on the iPhone. Clicking 'Select' does nothing. I found this article from 2007 http://dotnetslackers.com/ASP_NET/re-58898_RadControls_on_iPhone_Part_3.aspx
which stated

    RadUpload: Unusable
You probably saw this one coming. As you may know, the iPhone does not allow you to access its filesystem unless you've joined the thriving iPhone hacking community. Based on that restriction, mobile Safari seems to automatically disable the browser's file selection objects- the core of the RadUpload control. So aside from the basic functionality of RadUpload being disabled by the browser, the control does still render properly. Visitors to a page with a RadUpload control on an iPhone will be presented with a good looking, functionless control.



Is this still valid or is there a fix for this issue?

Thanks,

Brad
Michael Schweighardt
Top achievements
Rank 1
 answered on 10 Apr 2014
3 answers
146 views
Good day!

Is there anyway to cancel the OnClientAppointmentDoubleClick event without setting the AllowEdit="false"? I want the user to be able to drag the appointment to change the start and end time of an appointment, but without allowing them to edit it via the simple/advanced form.

Thank you very much.
Muhammad
Top achievements
Rank 1
 answered on 10 Apr 2014
3 answers
116 views
I have tried to use the CustomContentProvider to alter the parent directory name with no success

In one case when have the parent and then files under the parent.
In other cases we have a parent, that I want to customize the text and then sub folder that I want to display as they are in the file structure

When I try to use the CustomContentProvider I see no folders, in either case.
This is the code
​public class CustomContentProvider : FileSystemContentProvider
{
public CustomContentProvider(HttpContext context, string[] searchPatterns, string[] viewPaths, string[] uploadPaths, string[] deletePaths, string selectedUrl, string selectedItemTag)
: base(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag)
{

}

public override DirectoryItem ResolveRootDirectoryAsTree(string path)
{
DirectoryItem orgDir = base.ResolveRootDirectoryAsTree(path);


orgDir.Name = folderText;
return orgDir;
}
}


The parent folder is dynamic based on what was selected.
Frank
Top achievements
Rank 1
 answered on 09 Apr 2014
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?