Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
130 views
Hi,

I need to have my own custom upload window instead of build-in one in FileExplorer control.
Can you please provide snippet of how I can cancel the default window popping and replace it with my own RadWindow.

Also, one my custom window uploads files, I will need the parent window where all files are visible to be refreshed so newly added files are visible there as well. What would be a snippet for that?

Thanks!
brian
Top achievements
Rank 1
 answered on 30 Nov 2011
2 answers
88 views
Hi
If I do server side validation by using RadInputManager and a code like this : 
radInputManager1.InputSettings[0].Validate(txtName);
                if (!radInputManager1.InputSettings[0].IsValid)
                        return false;

(radInputManager1.InputSettings[0] does a regular expression validation on txtName)

and if the posted data was invalid (by disabling javascript in client or any why that that the user bypassed the javascript validation)
Can I be sure that the validation is done correctly on the server side?
I mean , can user manipulate the regular expression or IsRequired field in a way that cause server side validation return InCorrect result too ?

Thank you very much for your feedback
reza
Top achievements
Rank 1
 answered on 30 Nov 2011
1 answer
95 views
Good evening,
when i installed the new version i noticed that when using RTL on any top level element of the thextbox (table, body html, ...) it is not working corrctly (a blank space appearing on the right of the textbox).
so i have to make the top level element of the textbox dir=RTL and align=right, then i have to put the dir attribute of the textbox to RTL.
this way i solved the problem but it is taking a lot of time.
Galin
Telerik team
 answered on 30 Nov 2011
2 answers
216 views
Hi,
I am working with div-based pages and RadRotator and wanted to ask the following:
Can any image overlap part of RadRotator with image?

Attached is the requirement:
Black = RadRotator
Red = Image within RadRotator
Green = Overlapping image

I've been playing around with css but with no avail. Any help will be greatly appreciated.

Thanks.

-Haris
Haris
Top achievements
Rank 1
 answered on 30 Nov 2011
4 answers
218 views
I have an application where I have 4 different Rad List Boxes.  I need to be able to drag and drop items from any one list box to any other, and fire a code behind event.  I'm transferring items, not making a copy and it seems like I have to establish a 'source' to 'destination' relationship for that.

Is it possible to do what I need?

Dave
Dave
Top achievements
Rank 1
 answered on 30 Nov 2011
4 answers
253 views
Hi,
I try to use custom paging in radgrid with hierarcy. If i use just paging everthing works fine. But if i use custum paging, the main table works fine with virtualitemcount property, but can not paging in sub tables.

This is my grid properties.
 <telerik:RadGrid ID="GvwItems" runat="server" ClientIDMode="AutoID" AutoGenerateColumns="False" GridLines="None" EnableLinqExpressions="False" Skin="Office2007" AllowPaging="True" AllowCustomPaging="true" PageSize="25" AllowSorting="True">
 
This is NeedDataSource Event
If IsExpanded = True OrElse e.IsFromDetailTable = True Then
GvwItems.VirtualItemCount = MyTable.Rows(0).Item("RCount")
Else
GvwItems.MasterTableView.VirtualItemCount = MyTable.Rows(0).Item("RCount")
End If


Tsvetoslav
Telerik team
 answered on 30 Nov 2011
2 answers
66 views
Hi...I have a question...is possible use telerik with google earth plugin?

I have tried to open a radwindow in a page with google earth, but the visualization is very strange, the layers is mixed.

I have attached an image, thank you for support.
Slav
Telerik team
 answered on 30 Nov 2011
1 answer
257 views
Hi Team, 
 My Requirement is to open PDF File in Rad Panel Item. When I do it from design mode it is working fine, but I am unable to add Iframe from code behind.
 
When I used Iframe from design mode : 
                 <telerik:RadPanelBar ID="radSample" runat="server">
                      <Items>
                        <telerik:RadPanelItem>
                          <ContentTemplate>
                           <iframe id="sample123" runat="server" src="~/UpLoadedImages/abc.pdf"></iframe>
                          </ContentTemplate>
                        </telerik:RadPanelItem>
                      </Items>
                    </telerik:RadPanelBar>
  when I used like this it is working fine and pdf is opening in Iframe but now i need to add rad panel items dynamically,
but as per my requirement i may have add number of rad panel items  so for that,     
count = no. of items;
foreach(int i=0 ; i < count; i++)
{
                         RadPanelItem myItem= new RadPanelItem();
 System.Web.UI.HtmlControls.HtmlGenericControl Iframe1 = new System.Web.UI.HtmlControls.HtmlGenericControl();
                        Iframe1.Attributes["src"] = "~/UpLoadedImages/abc.pdf";
                        myItem.Controls.Add(Iframe1);
radPnlBar1.Items.Add(myItem);
}
Now IFrame is adding like a span tag and not working as expected.

Can you help me how to add Iframe control to Rad Panel Item dynamically....


 Thanks in Advance..

 Santhosh.G,
Kate
Telerik team
 answered on 30 Nov 2011
7 answers
307 views
Hello,

Can you please give me a concrete exemple of how can we add templates to nodes server side?
I need to get nodes ( with images and text) using templates  like shown in the given page:
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/templates/defaultcs.aspx.

Thank You & best Regards,

Hind
Plamen
Telerik team
 answered on 30 Nov 2011
1 answer
118 views
When i double click on an Appointment the "Edit Appointment" menu comes up.

On this menu i have 2 Date Pickers and 2 Time pickers and also 2 combo box (one for users and the other for rooms).

I need all the items above to be read-only, but i can't find anywhere how to achieve this...

Thanks in advance for all the help.
Ivana
Telerik team
 answered on 30 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?