Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
142 views
A designer in our company wants to "add padding / margin to left and bottom " of Images using the editor. Can this be done?
Julian Roberts
Top achievements
Rank 1
 answered on 26 May 2008
2 answers
322 views
Dear All!

My code example. Question is below
code behind:

DataTable dt = new DataTable();
DataRow dr;
dt.Columns.Add("Translation", Type.GetType("System.String"));

dr = dt.NewRow();
dr["Translation"] = "TEST";
dt.Rows.Add(dr);
DataSet ds = new DataSet();
ds.Tables.Add(dt);
Session["translationDS"] = ds;

aspx:

<telerik:radtextbox Width="195px" id="RadTextBox3" runat="server" Value='<%# DataBind.Eval ???%>' ... />

Question: How can I bind the Session["translationDS"]'s specified row (for ex. 5th row Translation column->ds.Tables[0].Rows[4]["Translation"]) to RadTextBox not in runtime on aspx side. C# side is ok. 

Many thanks


alsi
Top achievements
Rank 1
 answered on 26 May 2008
5 answers
211 views

I have tried codeless save in a Database for asp.net AJAX RadEditor, its working fine for text. I am able to edit and save the changes.  But when I tried inserting an Image from local drive it doesnt allow me to because the Image Manager +Upload can't be clicked.

I am using SQL SERVER 2005 using ObjectDatasource and FormView


Thank you very much.

Rumen
Telerik team
 answered on 26 May 2008
1 answer
177 views
Hi,

I have a GridDropDownColumn, and two data sources (objectDatasource1, objectDatasource2).

The GridDropDownColumn uses objectDatasource1.
 
However, for inserts, I want the GridDropDownColumn (in the insert row) to use objectDatasource2.  How do I accomplish this?

Thanks!
John
Sebastian
Telerik team
 answered on 26 May 2008
5 answers
260 views
Hi,
I am using RAD Editor AJAX with visual studio 2008, and when i am trying to open the photos dialog a message appears that the web.config HttpHandlers registation is missing, then I registerd the HttpHandler in the web.config using the Editor smart tag and the message still appear, please tell me what is the problem.
Rumen
Telerik team
 answered on 26 May 2008
1 answer
124 views
Hi,

The outer div (class rsApt) have hardcoded html style

(style=height: 200%; width: 90%; padding-bottom: 2px; left: 0%;)

I need set height = 150px and width = 100%

How can I override this style. I look at my code but I didn't set style.
I think that Style has been set by Telerik.

Regrads,

J
Peter
Telerik team
 answered on 26 May 2008
1 answer
145 views
I am opening a RadWindow from another RadWindow.  The child window is a delete confirmation window.  If the user confirms, I need to update a grid on the parent window's page.  I am doing this on numerous other pages without a problem.  However for some reason it does not work for me on this page.

Here is my code for opening the window:
        function ShowItemTypeIndexDeleteForm(indexAssignmentID, indexID)  
        {  
 
            GetRadWindow().BrowserWindow.radopen("ItemTypeIndexDelete.aspx?IndexAssignmentID=" + indexAssignmentID + "&IndexID=" + indexID, "rwIndexDelete");  
     
            return false;   
        }  
 

Here is my code on the child page for updating the grid on the parent page:
    function CloseAndRebind()  
    {  
        GetRadWindow().Close();  
        GetRadWindow().BrowserWindow.refreshIndexesGrid('Rebind');  
    }  
    function GetRadWindow()  
    {  
        var oWindow = null;  
        if (window.radWindow)  
        {  
            oWindow = window.radWindow;  
        }  
        else if (window.frameElement.radWindow)  
        {  
            oWindow = window.frameElement.radWindow;  
        }  
          
        return oWindow;  
    }  
 

Here is my code for attempting to update the grid on the parent page:
        function AjaxRequestMethod(target, arguments)  
        {  
            var ajaxManager = $find("<%= ramMain.ClientID %>");  
            ajaxManager.ajaxRequestWithTarget(target, arguments);  
        }  
        function refreshIndexesGrid(arg)     
        {     
            AjaxRequestMethod('<%= rgAssignedIndexes.UniqueID %>', 'Rebind');     
        }     
 

I am calling the refreshIndexGrid in the code behind using:
        InjectScript.Text = "<script type='text/javascript'>CloseAndRebind('Rebind')</" & "script>"  
 

Thanks.

Seth
Svetlina Anati
Telerik team
 answered on 26 May 2008
1 answer
391 views
Is it possible to handle a change in the view?

I want to be able to load diary events when ever a view changes from say day to week or week to month. I don't want to pre-load all the appointments because the system would be too slow.

Thanks
Jon
T. Tsonev
Telerik team
 answered on 26 May 2008
1 answer
424 views
i've built a form which has tooltips defined for each row of the table the form is layed out on. using the mouse to go to a particular field within the form is great because the tooltips show as you mouse over each element - even mousing over the prompts shows the tooltips because they are in the same table row as the field and the title= is defined on the table row.

the only issue is that the forms tend to be long and most users will tab from field to field instead of using their mouse. that means they may not see the tooltips. so, what i want to do is have the onfocus of the form fields call a function to show the tooltip that relates to them. But how to do that? How do i get a reference to the instance of the tooltip for that particular row of the table?

any pointers gratefully received.

one other approach to this as a fallback option would be to have the tooltip only on the form fields and make it respond to both onMouseOver and onFocus. Is that possible?

thanks,
rob
Svetlina Anati
Telerik team
 answered on 26 May 2008
1 answer
214 views
I'm testing your new controls. I would like to use RadTabStrip for navigation and I wonder if it is possible to somehow load a new .aspx when I click on a tab. I don't want to use NavigeateToUrl since it causes a complete postback.

Thanks, Jernej
Paul
Telerik team
 answered on 26 May 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?