Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
Hello telerik team.

I am using  textbox with radinputmanager....what I like to do is to hide or disable the hover skin when the user hovers the textbox(the hover skin by default is black color border in the textbox). I mean that I want the textbox works as if it didn't have any radinputmanager. By default the radinputmanager skin is "Default"....how can i resolver mi issue?

Thanks a lot in advance

Ivan Aquino
Dimo
Telerik team
 answered on 27 Aug 2009
1 answer
108 views
Hi Experts,

We are using RAD Grid with doctype HTML 4.01 strict. When we remove the Doctype declaration, the resizing of column is working fine, but when we added doctype to page, the resizing of column is not working. Please let us know how can we implement the resizing functionality with doctype HTML 4.01 strict.

Please let us know if there are any issue in Telerik Grid using HTML 4.01 strict?
If yes,It will be great if we can have list of such issue and possible resolution if any.
Thank you for your help in advance

Shailesh
Dimo
Telerik team
 answered on 27 Aug 2009
2 answers
101 views
Hi,
I have a problem with my radgrid onrowselected function, when I'm trying to read row values... I have no problem for the key column value, but to all other columns always send me 'undefined' value...

Here's my code ...

 

<script type="text/javascript">

 

 

function RowSelected(sender, eventArgs)

 

{

 

var rownum = eventArgs.get_itemIndexHierarchical();

 

alert(

"Row: " + rownum + " selected.");

 

 

var selRow = eventArgs.getDataKeyValue("cliente_id");

 

alert(selRow);

 

 

var selRow = eventArgs.getDataKeyValue("nom");

 

alert(selRow); /* < Here I get 'undefined' value alert*/

 

}

 

</script>

 


 

<telerik:RadGrid ID="gridRefs" runat="server" AllowPaging="True" AllowSorting="True"

 

 

AutoGenerateColumns="False" CssClass="RadGrid" GridLines="None" GroupingEnabled="False"

 

 

PageSize="20" Skin="Office2007" Width="500px">

 

 

<MasterTableView ClientDataKeyNames="cliente_id">

 

 

<Columns>

 

 

<telerik:GridBoundColumn Visible="false" DataField="Cliente_id" UniqueName="Cliente_id" />

 

 

<telerik:GridBoundColumn Visible="false" DataField="SITCI" UniqueName="SITCI" />

 

 

<telerik:GridBoundColumn Visible="false" DataField="GSITCI" UniqueName="GSITCI" />

 

 

<telerik:GridBoundColumn Visible="false" DataField="NUMERO" UniqueName="GSITCI" />

 

 

<telerik:GridBoundColumn Visible="true" DataField="nom" HeaderText="Nombre" UniqueName="nom" />

 

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

<Scrolling AllowScroll="True" />

 

 

<ClientEvents OnRowSelected="RowSelected" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 



What I'm missing??

Thank you in advance.

Best Regards...
Leonel
Top achievements
Rank 1
 answered on 27 Aug 2009
1 answer
47 views
Hi,

I recently found that events that are created over a great many time slots will lose its background on the later time slots.
Investigating this I was able to reproduce the problem in one of the telerik examples. Instructions to reproduce follow.

http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx
Set "Minutes per row" to 10.
Set "Time label row span" to 1.
Click "Show 24 hours".
Create an event that starts at 12 am.
Drag this event at least past 8 am.
You should now find that the background disappears at the end of the last 7 am time slot.
The image at the bottom however, the one that contains the drag handle, is still visible.

Is there a way to resolve this?

Thank you
Johan
Peter
Telerik team
 answered on 27 Aug 2009
1 answer
147 views
I need some help getting the LinkText set;

I'm trying to create a product selector that returns a hyperlink. I've created my own content provider, based on the ProductBrowserContentProvider. It's shows a list of products whom I generate in the ResolveDirectroy function shown in the code below. This works quit nice.
What is returned is a link to my product. It shows the link in the HyperLink Manager window, in both the URL and the LinkText fields.
But I would like to show the productname in the Linktext. 

        public override DirectoryItem ResolveDirectory(string path) 
        { 
            // category 
            DirectoryItem[] directories = GetChildDirectories(path); 
            return new DirectoryItem(GetName(path), EndWithSlash(GetDirectoryPath(path)), path, "", _permissions, GetChildFiles(path), directories); 
        } 
 
        private FileItem[] GetChildFiles(string path) 
        { 
            List<FileItem> products = new List<FileItem>(); 
            long categoryid = GetLastIdFromPath(path); 
            if (categoryid > 0) 
            { 
                ProductFilter filter = new ProductFilter(0); 
                filter.Category = CategoryManager.FindCategory(categoryid); 
                 
                foreach (Product product in ProductManager.FindProducts(filter)) 
                { 
                    string url = "http://${baseurl}/productdetails.aspx?id="
                    url += product.ProductID.ToString(); 
                    url += "&username=${username}&password=${password}"
 
                    // the linktext should be product.TitleActiveLanguage 
                    FileItem product_item = new FileItem(product.GetTitle(Framework.ActiveLanguage, truetruefalsefalse),"", 0, "location", url, product.TitleActiveLanguage, _permissions); 
                    products.Add(product_item); 
                } 
            } 
            return products.ToArray(); 
        }


Is it at all possible to control the link text from something inside a FileItem object?
If not, what do I do to get the linktext to show what I want?

thanks


Lini
Telerik team
 answered on 27 Aug 2009
1 answer
93 views
Hello,

When I create a new webapp with new site collection, it seems that the RadEditor deployment is executed. The configuration file telerik (ConfigFile.xml, ListConfigFile.xml, ...) are reset. So I lost all the customization.

What should I do to keep my customization?

Thanks for helping
Stanimir
Telerik team
 answered on 27 Aug 2009
1 answer
97 views
Hi,

Is it possible to implement drag and drop functionality in a hierarchical grid?

Consilder the below structure of a hierarchical grid and let me now how we can implement drang and drop functionality?

MasterTableView --- Level 0 (Grid Table)
    DetailTableView1 -- Level 1 Hierarchy(Grid Table)
    ------------------------------------(Detail Table Items)
    ------------------------------------(Detail Table items)
        DetailTableView2 -- Level 2   Hierarchy (Grid Table)
        ------------------------------------(Detail Table Items)
        ------------------------------------(Detail Table items)
            DetailTableView2 -- Level 3  Hierarchy (Grid Table)
            ------------------------------------(Detail Table Items)
            ------------------------------------(Detail Table items)

Can we drag and drop Level 3 Hierarchy (Detail table with data item) to Level2 Hierarchy so that the structure should become as given below.

MasterTableView --- Level 0 (Grid Table)
    DetailTableView1 -- Level 1 Hierarchy(Grid Table)
    ------------------------------------(Detail Table Items)
    ------------------------------------(Detail Table items)
        DetailTableView2 -- Level 2   Hierarchy (Grid Table) --- Earlier Level 3(DetailTableView3)
        ------------------------------------(Detail Table Items)
        ------------------------------------(Detail Table items)
            DetailTableView2 -- Level 3  Hierarchy (Grid Table) --- Earlier Level 2 (DetailTableView2)
            ------------------------------------(Detail Table Items)
            ------------------------------------(Detail Table items)

Please let me know how we can implement this and can send the DetailTable's Datakey value to server side to update the relationship appropriately in back-end?

Thanks in advance.

            

     
Arvind Singh
Top achievements
Rank 2
 answered on 27 Aug 2009
1 answer
90 views
Hi,
I am new to web development and this one may sound little foolish...

I am having multiple tabs. Each tab is populating some labels and textboxes with values from the object properties. After I change some of the values in one tab and go to nex tab, it reloads the page causing the loss of changed data, and when I come back to 1st tab I find the orignal populated values and not the one modified by me.

Please suggest how to avoid this.

Also if I want to refresh the data for a single tab only, to my defaults how to achieve it easily?
Shameem Jawed
Top achievements
Rank 1
 answered on 27 Aug 2009
4 answers
66 views
Hello,

I have a RadScheduler attached to a SqlDatasource on my web page and when I start the project, the page with the scheduler comes up but I am getting the Internet Explorer Error Message in the lower left corner.  The functionality of the Scheduler does not seem to work either.

Done, but with errors on page

The details are as follows:

Line: 270
Char: 1
Error: 'Telerik' is undefined
Code: 0
URL: http://localhost/Scheduler/Default1.aspx
.NET Coder
Top achievements
Rank 1
 answered on 27 Aug 2009
19 answers
386 views
Hello,

Is it possible to schedule entries over multiple days? For example, I have a piece of equipment that will be unavailable from 9/24/07 through 9/28/07.   I set my start date as 9/24 and end date as 9/28.  The scheduler is only showing this item on the 9/24 day.

Thanks,
Wayne
.NET Coder
Top achievements
Rank 1
 answered on 27 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?