Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views

Hello,

I have a problem with RadEditor Image Manager, the problem is that the preview is not working right, I don't know what is missing me to configure, as you can see in the image that I attach you, it appears a red X instead of the image, when I insert the image it seems the same, only the red X, so I'm not able to insert the image... So when I open the image in the editor, I don't have problem I can see the image.

I have been many days trying to solve this, I hope you can help me, even I hope I can explain you the problem.

Thanks in advance.

Rumen
Telerik team
 answered on 28 Jun 2012
1 answer
34 views
I was pointed to this article by a colleague while researching purchase of RadSpell for our project but before we make the decision we'd like to make sure this is feasible and with the right Package (Ajax? mvc?) for our needs.

We have a shared and distributed hosting infrastructure and our spell-check requirements require not just spell checking on the web controls in UI but also before we even load the page or pop up the grid with lists. We need to run spell check at the app tier (n-tier fashion) by running a check on some database tables. We have WCF services on the application tier that we hope can reference the appropriate radspell dll and process the spell checking before loading the grid to display.

> Is this feasible? i.e. having radspell dll and referencing API on the app tier...
> and if yes then how - which package is appropriate for our web and app tier needs and in a multi-tenant hosted environment we want to minimize the impact of putting libraries on server. Any recommendations would be greatly appreciated. 
> We also need the ajax controls on web project - can we get by with the same package or do we have to purchase different products?

TIA!
G.
Rumen
Telerik team
 answered on 28 Jun 2012
4 answers
82 views
Hi,
I have a RadGridview, while displays stock data.
Now, I have list which list which holds Customized Stock List.
At this point i want to display this Customized stock List under relevant stock data row.
I'had approached in design time and did the work,but thing is that [+] Symbol is appearing for all the rows. But i need for only those stock rows which has cutomized list.
I've approached this tutorial. But this is displaying [+] symbol for each row and not able to display relevant data, its displaying raw data. 

Once Please look into the Issue.
protected void AddDetailsTable()
        {
            GridTableView gvCylinderList = new GridTableView(gridMapModel);
            gvCylinderList.Name = "gvCylinderList";
            gvCylinderList.AutoGenerateColumns = false;
            gridMapModel.MasterTableView.DetailTables.Add(gvCylinderList);
            GridBoundColumn clName = new GridBoundColumn();
            clName.DataField = "Name";
            clName.HeaderText = "Name";
            gvCylinderList.Columns.Add(clName);
 
            gridMapModel.DetailTableDataBind+=new GridDetailTableDataBindEventHandler(gridMapModel_DetailTableDataBind);
        }

Above Snippet for programatically adding the row.
protected void gridMapModel_DetailTableDataBind(object sender, GridDetailTableDataBindEventArgs e)
       {
           GridDataItem item = (GridDataItem)e.DetailTableView.ParentItem;
 
           switch (e.DetailTableView.Name)
           {
               case "gvCylinderList":
                   int mapModelId = Convert.ToInt32(item.GetDataKeyValue("MapModelId"));
                   VesselService vs = new VesselService();
                   List<MapModelCylinder> lst =  GetMapModelCylinderList(vs.GetMapModelsCylinder(mapModelId));
                   if (lst.Count > 0)
                   {
                       e.DetailTableView.DataSource = lst;
                   }
                       break;
           }
       }

In the above I'm binding the Detail Table View. But its now working properly. Kindly assist me in fixing. 
Pavlina
Telerik team
 answered on 28 Jun 2012
6 answers
754 views
What we're trying to do is block all keyboard input into the combobox. Currently, when the user presses a key, it will attempt to index to the first person that has a name beginning with that letter despite MarkFirstMatch being set to false. When I create a new page and use this against the combobox:

$("input[name='cboSelection']").keydown(function (event) {
         event.preventDefault();
         return false;
     });
});

It works fine, as it should. The problem is that as soon as I add it to a master page, it stops working. We can't find anything that might directly conflict with it such as another keydown event, but it APPEARS to be a hierarchical problem. For instance, when I set an AlertBox to fire on the keydown event, what happens is that the combobox makes the selection THEN my event handler fires. When we don't use a master page, it happens the other way around; my event handler fires, then the combobox makes the selection

In the Silverlight version of the control, there's a property that disables keyboard input, but I have not found anything with the AJAX control that is comparable. Any insight or solutions would be appreciated. Thanks.
Jeremy
Top achievements
Rank 1
 answered on 28 Jun 2012
1 answer
110 views
Hi, I have trouble with updating excel-like radgrid on my end. After updating telerik binaries from 2010 to 2012, it gives me this error:
NullReferenceException was unhandled by user code.

on this line:
textBox.ReadOnly = true;

textBox becomes null for some reason.

// Attach the event handlers to the client side events of the TextBoxes.
        foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
        {
            if (item is GridDataItem)
            {
                columnsCount = 0;
                for (int i = 2; i < RadGrid1.MasterTableView.RenderColumns.Length; i++)
                {
                    GridColumn column = RadGrid1.MasterTableView.RenderColumns[i];
                    TextBox textBox = (item[column.UniqueName].Controls[0]) as TextBox;
                    if (textBox != null)
                    {
                        textBox.Attributes.Add("ondblclick", "cellDoubleClickFunction('" + textBox.ClientID + "');");
                        textBox.Attributes.Add("onclick", "cellClick('" + textBox.ClientID + "');");
                    }
                    if (i == 2)
                    {
                        textBox.ReadOnly = true;
                        textBox.Attributes.Add("class", "readOnly");
                    }
                    columnsCount++;


The type of column is Telerik.Web.UI.GridColumn {Telerik.Web.UI.GridBoundColumn}.
However compiling same code with telerik 2012 binaries, it becomes Telerik.Web.UI.GridColumn {Telerik.Web.UI.GridNumericColumn}. I'm not sure if it's really releated with the problem, since I'm new to telerik.

You can get the file in Here from code library and same problem occurs after updating telerik binaries. Any help will be appreciated.
Pavlina
Telerik team
 answered on 28 Jun 2012
9 answers
589 views
Hi,

I'm using RadButtons and would like to turn off the rounded corners and make the buttons look more like RadDocks with corners turned off and the RadToolBar, am I missing a property somewhere or is this going to be a CSS fudge?

<telerik:RadButton ID="uxCancelButton" runat="server" CausesValidation="False"  UseSubmitBehavior="false"
 Text="Cancel" OnClientClicked="CloseAdhocPopup" AutoPostBack="False"  >
<Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="6px"></Icon>
</telerik:RadButton>

Regards,

Jon

Bozhidar
Telerik team
 answered on 28 Jun 2012
4 answers
239 views
I am using custom advanced form to maintain appointment. The database thorows an exception if the validation fails. The validation is complex that I cannot bring it to the client side. Currently the application shows "Server error in '/<app>' Application" with the error message returned by the database. How can I catch the exception and show in RadAlert? Any help is appreciated.

Thanks, E.Z.
Plamen
Telerik team
 answered on 28 Jun 2012
3 answers
101 views
I have a situation where I am creating a RadPanelBar during the OnLoad event of my page. When I do it this way, the panel bar ends up entirely expanded, even when I set each RadPanelItem.Expanded to false.

Previously, this panel bar was loaded after being triggered by a menu, but I wanted to change it so it starts preloaded based on some data. Any ideas?

Thanks,
Chris
Kate
Telerik team
 answered on 28 Jun 2012
1 answer
224 views
Hello,
it seams to be a problem with the radTabStrip on ScrollChildren = true active. There appear to be an internal width issue that breaks the design on browser resize. Here's the scenario:

I have this in a page:
<telerik:RadTabStrip  runat="server" ID="radTabStrip" PerTabScrolling="true" ScrollChildren="true" SelectedIndex="0" Width="100%" style="padding-top:2px;">
    <Tabs>
        <telerik:RadTab runat="server" Text="Customer Details" Value="0" />
        <telerik:RadTab runat="server" Text="Practice Info" Value="1" />
        <telerik:RadTab runat="server" Text="Customer & Case Alerts" Value="6" />
        <telerik:RadTab runat="server" Text="Calls & Notes" Value="2" />
        <telerik:RadTab runat="server" Text="Cases" Value="3" />
        <telerik:RadTab runat="server" Text="Accounting" Value="4" />
        <telerik:RadTab runat="server" Text="Sales" Value="5" />
        <telerik:RadTab runat="server" Text="Attachments" Value="7" />
        <telerik:RadTab runat="server" Text="Education Courses" Value="8" />
        <telerik:RadTab runat="server" Text="Personal Notes" Value="9" />
    </Tabs>
</telerik:RadTabStrip>

Here is the issue i found out:
Considerring all the tabs i have in the ASPX, when i resize the browser it works as it supposed. That is, the scroll button appears and the tab strips are correctly displayed in one row.
Now, if you remove the last RadTab ("Personal Notes"). The page loads correctly, but when you try to resize a few pixels the browser, the scroll buttons appear correclty, but the last TAB (and only the last tab) is displayed on a second row..and this is not as it supposed to work.
My guess is that is not the number of tabs, but the total width of the tabs, because if i dont remove the last tab ("Personal Notes"), but
insterad i rename the 3rd tab from "Customer & Case Alerts" into "Alerts", the design breaks again, placing the last tab on a second row.

This behavior was found in IE9 and is working as intended in FF

I have the last Q2 2012 version and i also attach two snapshots for error 1: (last tab removed) and error 2: (dont remove lat tab, instead rename the 3rd tab to shorter name)
Kate
Telerik team
 answered on 28 Jun 2012
0 answers
113 views
hi all,
  I have a table which have ID, Name, Value as columns. I have 12 records in the table which needs to be bind in the grid. The grid shows the data like below


Name      Value     Name   Value    Name Value

So the same set of columns need to be repeated 3 times so totally 4 rows shows the full data. In the footer i need to show the total of each value column. How can i achieve this? Any other control better than grid. I already the read the following threads

http://www.telerik.com/community/forums/aspnet-ajax/grid/repeate-columns-on-radgrid.aspx
http://www.telerik.com/community/forums/aspnet/grid/4-by-4-grid.aspx

But i didn't get the clear about of my requirement.

Akhil Raj
Top achievements
Rank 1
 asked on 28 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?