Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
153 views
Hello,

Is there a way to get Listview with RadBinaryImage and Jquery-Lightbox, where the ImageURL is not given just (RBI) DataValue?

I found examples,  howto use lightbox with simple asp-image, but is there a way too, to make it with Images from DB- RadBinary images?

Thanks for your help.

Zoltán 
Vasil
Telerik team
 answered on 07 Feb 2012
1 answer
136 views
Hello,
               We are using RadEditor.dll 7.2.0.0 .  I want to create one Thumbnail img from a 605x442 unit size.
 In the image manager  i did as follows:
Clicked on  the Create Thumbnail icon. The Create Thumbnail sub-window appears. It has the following values filled-in: -- New image name: SpaceRequiredToTransport60People.jpg -- Width: 24 -- Height: 24 (This doesn't make sense. The "large" image is not square.) -- Dimension Unit: Pixel -- Constrain Proportions: checked

But the created image was not cleared one.Its being too small . i am using IE 8.0 & chrome. I checked in both browsers , but its appeares same.

 Do we have any setting in web.congif file for this thumbnamil creation. ????

Thank you,
Rumen
Telerik team
 answered on 07 Feb 2012
3 answers
167 views
Hello...

I have a question about EditForm Style in Grid.

it's hard to explain my case , then i attached two image files

what i want to knows  is that remove line and space (pic2.gif ) like pic1.gif
No set pic1.gif
pic2.gif ,  bordercolor = white , and as faked.

below is source code of pic2.gif.

<EditFormSettings>
   <EditColumn ButtonType="ImageButton" CancelImageUrl="/Images/Grid/Cancel.gif" InsertImageUrl="/Images/Grid/Insert.gif"
     UpdateImageUrl="/Images/Grid/Update.gif"  />
   <FormMainTableStyle BorderStyle="Dotted" BorderWidth="1" Width="100%" />
    <FormTableStyle BorderColor="White" BorderStyle ="Dotted" />
    <FormTableAlternatingItemStyle BorderColor="White" BorderStyle ="Dotted"  />
</EditFormSettings>

thanks regards.
Mira
Telerik team
 answered on 07 Feb 2012
1 answer
42 views
Hi, the editor is not working properly when switched to full screen mode in IE 9 - please see the attached pictures from Firefox and IE 9. What is wrong?
Dobromir
Telerik team
 answered on 07 Feb 2012
1 answer
178 views
Hi,
We have a requirement as follows:

1. We have a WCF service which fetches data from the database.
2. We are using IEnumerable Collection (custom class with properties) object to bind to the Visual Web Part GridView.
3. We want to replace this Gridview with Telerik Rad Grid.
4. The Data collection object need to be displayed in hierarchy.
Eg;
a. WCF Service Method -> GetAll_Employees();
b. public class Employees
{
public int ID;
public string Name;
public string Address;
public int ReportToID;
}
c. The WCF Service returns the IEnumberable<Employees> object to the WebPArt UI.
d. The employee details should be displayed with the Reporting Officer details and the employees reporting to the person as the child collection.
eg;      Reetha    India
                 Geetha    India
                  Meena     India
            Jaya K        India
here Reetha and Jaya K are the employees at the root node and Geetha and Meena are the employees reporting to Reetha , so shown as child. The relation is the ReportToID property in the Employees class.
 
How we can display this in the RadGrid with child and parent and also with an IEnumerable Collection object returned from the WCF as binding data source. Also this need to be done in a Custom Visual Webpart in SP 2010.

Thanks in advance.
Veena R

Tsvetoslav
Telerik team
 answered on 07 Feb 2012
1 answer
80 views
I am using two buttons exactly as shown at your page. Also the code is same. I have one asp server label control also on my page. In the
following function, my custom code won't execute:

protected
void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) { lblstatus.Text="Text is changed"; RadAjaxManager1.Alert("AjaxRequest raised from the " + e.Argument); }

The label text is not getting changed.

HELP!!!!!!!!
Mira
Telerik team
 answered on 07 Feb 2012
2 answers
96 views
This is my radedtor code.  when I enter this content : "İÖÜÇŞĞ ! + = . ; :"
result is : %3cspan style%3d%22font-family%3a arial%3b font-size%3a 13px%3b%22%3e%3cstrong%3eİÖÜÇŞĞ %21 %2b %3d . %3b %3a%3c/strong%3e%22 %3c/span%3e
how can fix this? I double checked all pages and config files. tryed many combination of content filters. what is wrong?

Editor Code :
Input : "İÖÜÇŞĞ ! + = . ; :"
Telerik.Web.UI.RadEditor RadControlWrite = new Telerik.Web.UI.RadEditor();
            RadControlWrite.ContentFilters = EditorFilters.DefaultFilters;
            RadControlWrite.DisableFilter(EditorFilters.ConvertCharactersToEntities);
            RadControlWrite.Width = 450;
            RadControlWrite.Height = 150;
            RadControlWrite.AutoResizeHeight = true;
            RadControlWrite.ToolsFile = "~/Manage/ResourceToolbar.xml";
            RadControlWrite.CssFiles.Clear();
            RadControlWrite.CssFiles.Add(new EditorCssFile("~/App_Themes/" + ConfigurationManager.AppSettings["Default_Theme"].ToString() + "/typography.css"));
            RadControlWrite.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Default;
            RadControlWrite.EditModes = EditModes.All;
            RadControlWrite.ID = "RadEditor" + IDCount.ToString();
            if (Object.Equals(SecondRadControl, null)) { SecondRadControl = RadControlWrite; } else { RadControlWrite.ToolProviderID = SecondRadControl.ID; }
 
            // Custom Translater Tool -----------------
            EditorToolGroup RadControlToolGroup = new EditorToolGroup();
            EditorDropDown TranslateDropDown = new EditorDropDown("TranslateTool");
            TranslateDropDown.Items.Add(new EditorDropDownItem("Türkçe","tr"));
            TranslateDropDown.Items.Add(new EditorDropDownItem("English","en"));
            RadControlToolGroup.Tools.Add(TranslateDropDown);
            RadControlWrite.Tools.Add(RadControlToolGroup);
 
            phResourceEditor.Controls.Add(RadControlWrite);

Saving Function
Output :   

Request.Form[string.Format("ctl00$ManageMasterContent$RadEditor{0}", IDCount)].ToString() 

"%3cspan style%3d%22font-family%3a arial%3b font-size%3a 13px%3b%22%3e%3cstrong%3eİÖÜÇŞĞ %21 %2b %3d . %3b %3a%3c/strong%3e%22 %3c/span%3e" string
int IDCount = 1;
foreach (System.Collections.Generic.KeyValuePair<string, string> ResourceDictionaryEntry in ResourceItems)
{
    RW.AddResource(ResourceDictionaryEntry.Key.ToString(), Request.Form[string.Format("ctl00$ManageMasterContent$RadEditor{0}", IDCount)].ToString() /** Important : if masterpage chanced this value can be null **/ );
    IDCount++;
}


Rumen
Telerik team
 answered on 07 Feb 2012
0 answers
128 views
Hello,

I have a RadGrid with different Tabs, here is the code for it.

<telerik:RadTabStrip ID="tabStrips" runat="server" MultiPageID="rmpStrips" >
        <Tabs>
            <telerik:RadTab></telerik:RadTab>
            <telerik:RadTab></telerik:RadTab>
            <telerik:RadTab></telerik:RadTab>
            <telerik:RadTab></telerik:RadTab>
        </Tabs>
</telerik:RadTabStrip>

I want to also have filters, for each radgrid in the tabs. Is it possible? if yes, how?

I appreciate your response.

Thanks,
Saquib

Saquib
Top achievements
Rank 1
 asked on 07 Feb 2012
1 answer
100 views

Hi -- I have a RadComboBox on parent page.  When I click a button on the page, it opens up a Popup.  The Popup builds a string and populates a TextBox with it.  When user closes the Popup, I want this string to be added to the RadComboBox on the parent page.  I can't seem to be able to pass this string to the parent page.  If I use a TextBox instead of RadComboBox, I can update it from the client code on OnClientClose event but there doesn't seem to be a way to access RadBoxComboItems in client code.

I tried using the code posted in some demos such as "var comboboxItem = new Telerik.Web.UI.RadComboBoxItem()".
But even though I have "<%@ Register Assembly='Telerik.Web.UI' Namespace='Telerik.Web.UI' TagPrefix='telerik' %>, it complains that "Telerik" is not defined.  We are using Telerik Rad controls version "Q1-2010". 

If we cannot create RadComboBoxItem in client code using this method described in the demo for this verison of telerik, is there any other way to do what I am trying to do?

Thanks
Sandhia
Ivana
Telerik team
 answered on 07 Feb 2012
1 answer
93 views
Hi

We have the radscheduler running in a webpart in Sharepoint 2010
http://dcsite.activclient.com/Pages/Events-Calendar.aspx

however after navigating through a month or two none of the links work anymore?

kind

Plamen
Telerik team
 answered on 07 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?