Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
167 views
Hi Dear telerik


when i use RadInput  with right to left text box, i have a bad problem: 
Warning icon is in the right side and this image conflict with text.
for this problem i used  this topic http://www.telerik.com/community/forums/aspnet-ajax/input/input-problem-with-right-to-left.aspx and my problem Solved.

when i Used  RadInput  with left to right text box for Numeric Entry Warning icon is in the left side and this image conflict with text.

i want warning icon is in Left Side and warning text is in right side for both of LTR and RTL

please Help me.

please see attached image : 
Eyup
Telerik team
 answered on 18 Apr 2012
1 answer
42 views
Hi,

In scheduler I'm loading big amount of events information via sqldatasource. And I need only for the user to choose a free slot and hit the button "book it" then he will be redirected to other page.I'm using custom InlineInsertTemplate. The problem is - that when clicking any free slot, all scheduler data gets repopulated it takes about 2-3 seconds to complete. Is it possible to load the data once and and void only InlineInsertTemplate without recreating all the slots? Thanks in advance
Peter
Telerik team
 answered on 18 Apr 2012
2 answers
220 views
Hi,

I have a radgrid whose css is defined in an external stylesheet. I am mainly looking for the height of the radgrid and the width of each of the columns.
The radgrid remains unaffected inspite of the css. I am adding the external style sheet on the server-side in the Page Load like this:
HtmlLink link = new HtmlLink();
                link.Attributes["href"] = "~/Styles/Grids.css";                
                link.Attributes.Add("type", "text/css");
                link.Attributes.Add("rel", "stylesheet");
                Page.Header.Controls.Add(link);

What am I doing wrong?
Pooja
Top achievements
Rank 1
 answered on 18 Apr 2012
6 answers
191 views
Hi.
Im using Version 2010.2.929.40.
Is there any way to get hand on Insert External Video to add as Custom Dialog for the editor ?
Rumen
Telerik team
 answered on 18 Apr 2012
1 answer
100 views
Hi:
I just placed my working chart inside a RadAjaxPanel and the print functionally is giving me a javascript runtime error on the { before the finally.

try{a._webRequest.completed(Sys.EventArgs.Empty)}finally{if(a._xmlHttpRequest!=null)

The JScript message says, it may be caused by response.write.

Using _ms As System.IO.MemoryStream = New System.IO.MemoryStream()
    _radChart.Save(_ms, System.Drawing.Imaging.ImageFormat.Png)
    page.Response.Clear()
    page.Response.ClearHeaders()
    page.Response.AddHeader("Content-disposition", "attachment; filename=" & pngName & ".png")
    page.Response.AddHeader("Content-type", "image/png")
    page.Response.BinaryWrite(_ms.ToArray())
    page.Response.End()
End Using
So, there is the response write.  So, how am I supposed to get the PNG image to the users?
Phil
Phil
Top achievements
Rank 2
 answered on 18 Apr 2012
1 answer
177 views
Hy,

The javascript function set_imageUrl() is not working for me if node.get_nodes().get_count() > 0;
For test, i'm only ckeck child node.

The parent node are checking to, and partial text appear, but only the last child are changing image.

function CheckNodeChildren(node, isChecked)
 {
     var nbChildrenNode = node.get_nodes().get_count();
     if (nbChildrenNode > 0)
     {
         for (var i = 0; i < nbChildrenNode; i)
         {
             var childNode = node.get_nodes().getNode(i);
             DetermineMode(childNode, isChecked, false);
             CheckNodeChildren(childNode, isChecked);
         }
         return true;
     }
     else return false;
}
 
function DetermineMode(node, isAllNodeChecked, isSomeNodeChecked)
{
 if (isAllNodeChecked)
 {
     SetMode_TotalAccess(node);
 }
 else if (isSomeNodeChecked)
 {
     SetMode_PartialAccess(node);
 }
 else
 {
     SetMode_ForbiddenAccess(node);
 }
}
         
function SetMode_TotalAccess(node)
{
 node.set_checked(true);
 node.set_imageUrl("/image/checked.gif");
 node.set_text("Total");
// node.set_toolTip(\  TOOLTIP_PictureTotal  \);
}
function SetMode_ForbiddenAccess(node)
{
 node.set_checked(false);
 node.set_imageUrl("/image/deleted.gif");
 node.set_text("Forbidden");
// node.set_toolTip(\  TOOLTIP_PictureForbidden  \);
}
function SetMode_PartialAccess(node)
{
 node.set_checked(false);
 node.set_imageUrl("/image/partial.gif");
 node.set_text("Partial");
// node.set_toolTip(\  TOOLTIP_PicturePartial  \);
}
Vincent
Top achievements
Rank 1
 answered on 18 Apr 2012
1 answer
108 views
Hi;
my chart How do I connect with datatable 
my code but chart item no bound do you speak turkish.
Private Sub ComboDoldur()
        objDt = objLogin.Select("TBLPROJEADI")
        radFirma.DataSource = objDt
        radFirma.DataTextField = "TXTPROJEADI"
        radFirma.DataValueField = "TXTPROJEKOD"
        radFirma.DataBind()
    End Sub
 
    Private Sub ChartDoldur()
        objDt = objLogin.Select("VIEWBOLGELEME", Nothing, "ORDER BY CAGRISAYISI DESC")
        radChart.DataSource = objDt
        radChart.PlotArea.YAxis.AddRange(0, 1, 0.1)
        radChart.Series(0).DataXColumn = "X"
        radChart.Series(0).DataYColumn = "Y"
        radChart.Series(0).Appearance.LabelAppearance.Visible = False
        radChart.DataBind()
    End Sub

Pawar
Top achievements
Rank 1
 answered on 18 Apr 2012
1 answer
87 views
Is there a way to set up the Text Editor to be able to format the position of uploaded pictures and videos with respect to the text that is typed in?  Mainly I'm talking about text wrapping and the margins that are placed around those pictures and videos.  This is something that is needed if the text editor is used in conjuntion with a blog.  Is there already a setting in place to adjust this or where would I have to specify this in the code?

Thanks
Rumen
Telerik team
 answered on 18 Apr 2012
1 answer
93 views
Hi,

Can anybody please suggest me.I have to develop a asp.net web application compatible to ipad.
But my doubt is can we develop a ipad compatible web application using Telerik ASP.Net AJAX controls without using asp.net MVC.

Thanks.
Iana Tsolova
Telerik team
 answered on 18 Apr 2012
13 answers
649 views
Hi,

I have the following issue: 
I have a Radgrid, with the definition bellow, in a user control, in an AJAX page, deployed on sharepoint. On an AJAX event the grid is given a DataSet as DataSource and populated. If I change the page and open the edit form for a row the grid changes the page back to page one and opens in edit mode the corresponding row on that page. At a debug I've seen that needDataSource handler is called before ItemCommand handler. Do you have any idea why this happens?
I tried to isolate the code in a simple project but if I put the control with the grid in a simple AJAX page, it behaves normally.

Thank you,
Victor

<snt:CustomizedGrid ID="dgQResults" runat="server" Skin="Office2007"  
    OnNeedDataSource="dgQResults_NeedDataSource"  
    OnItemCommand="dgQResults_ItemCommand"  
    OnPreRender="dgQResults_PreRender" 
    OnItemCreated="dgQResults_ItemCreated"  
    OnInsertCommand="dgQResults_InsertCommand"  
    OnUpdateCommand="dgQResults_UpdateCommand"  
    OnDeleteCommand="dgQResults_DeleteCommand"  
    OnColumnCreated="dgQResults_ColumnCreated" 
    OnPageIndexChanged="dgQResults_PageIndexChanged" 
    Width="100%" Height="370px" 
    AllowFilteringByColumn="True" 
    ShowCustomFilters="true" 
    AllowSorting="True" 
    CustomEnableInsert="false" 
    CustomEnablePrint="true"  
    EnableLinqExpressions="false" 
    AutoGenerateDeleteColumn="true" 
    > 
    <MasterTableView 
        AutoGenerateColumns="True"  
        RetrieveDataTypeFromFirstItem="true"
        <Columns> 
            <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="/_layouts/SMISUGIS/Images/Arrow.png" UniqueName="SelectColumn" CommandName="DisplayObject"
            </telerik:GridButtonColumn> 
            <snt:CustomizedGridEditColumn></snt:CustomizedGridEditColumn> 
        </Columns> 
        <EditFormSettings ColumnNumber="2" >   
            <FormTableItemStyle Wrap="False"></FormTableItemStyle>  
            <FormMainTableStyle CellSpacing="0" CellPadding="3" BackColor="#FEFCE8" />  
            <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px"  
                BackColor="#FEFCE8" /> 
            <FormStyle Width="100%" BackColor="#FEFCE8"></FormStyle>                  
            <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>  
            <EditColumn ButtonType="ImageButton"   
                CancelText = "Anuleaza" CancelImageUrl = "/_layouts/TabStrip/cancel.gif" 
                InsertText="Adauga" InsertImageUrl = "/_layouts/TabStrip/save.gif"  
                EditText = "Editeaza" EditImageUrl = "/_layouts/TabStrip/save.gif" 
                UpdateImageUrl="/_layouts/TabStrip/save.gif"  
                UniqueName="EditColumn"></EditColumn>  
            <FormTableButtonRowStyle VerticalAlign="Bottom" HorizontalAlign="Left" ></FormTableButtonRowStyle>  
        </EditFormSettings> 
    </MasterTableView> 
</snt:CustomizedGrid> 

(The CutomizedGrid and CustomizedGridEditColumn extend the RadGrid and GridEditCommandColumn)


Stan
Top achievements
Rank 1
 answered on 18 Apr 2012
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?