Telerik Forums
Community Forums Forum
2 answers
228 views
Hi,
     I need to create an advertisement banner between the radgrid rows, so i checking for the rowcount and if it is a specific row then im dynmically creating a table cell and rows and tried to fit it into the table but i coulnt see the banner image,  though the code was successfully built. Below is the code im using to implement the functionality
                Please help with this issue. Thanks in advance.

  if ((e.Item.RowIndex == 2)) 
                    { 
                        /* Code to add the image banner in between the rows - Start*/ 
                        TableCell tCell = new TableCell(); 
                        ImageButton img = new ImageButton(); 
 
                        img.ID = "ImageBannerID"


                        img.ImageUrl = hdnSpecialImageSrc.Value; 
                        img.PostBackUrl = hdnSpecialImageRedirect.Value; 
                        img.Style.Add("cursor""hand"); 
                        img.Style.Add("margin-top""5px"); 
                        img.Style.Add("margin-bottom""5px"); 
                        tCell.Controls.Add(img); 
 
                        Table tblGrid = ((Table)(this.RadGrid1.MasterTableView.Controls[0]));                       
                        int intIndex = tblGrid.Rows.GetRowIndex(e.Item); 
                        Telerik.Web.UI.GridItem gvrSubHeading = new Telerik.Web.UI.GridItem(this.RadGrid1.MasterTableView, intIndex, intIndex, Telerik.Web.UI.GridItemType.Separator);                                              
 

                        tCell.ColumnSpan = this.RadGrid1.MasterTableView.Columns.Count; 
                        gvrSubHeading.Cells.Add(tCell);                         
                        tblGrid.Controls.AddAt(intIndex, gvrSubHeading); 
 
                       
                        /*End of Coding*/ 
                    } 
Gajanan
Top achievements
Rank 2
 answered on 17 Aug 2015
3 answers
152 views

We are not sure where to post. We want to send this message to forum admins. We have started using telerik recently and we are developing a very huge application based on telerik asp.net mvc controls. As ​we are new to telerik, ​we had so many doubts and posted on forum and used to get very prompt reply, apart from the time zone delays. But recently, ​we are not sure why,  but ​we are not getting reply until 4 to 5 days. ​We are not sure what changed recently. At times we will be having close time lines and we end up going for a non telerik solutions. But ​we love to use to telerik solutions. Will it be faster if we put a support ticket instead of posting on forums?

 

One of the reason we were happy with telerik is for your prompt reply and support. We are not trying to complain but just want to find same page to better use all the solutions that telerik is offering.

 

Thanks,

DHHS Team

Tina Stancheva
Telerik team
 answered on 03 Aug 2015
10 answers
117 views

Hi,

We have an application built using an old version of Vanatec 4.3.19.797 (OpenAccess 2.0) that uses .Net 2.0.  The application is a console (DOS) one that references other projects (DLLs) which are compiled to x86.  This application was done in VS2008.  If we run this application on XP or any 32 bit systems then it works fine.  When we tried to run it on x64, we always get the BadImageFormatException error.  We tried setting the executable and the DLL it is complaining about (which is the one referencing the Vanatec DLLs) to 32 bit using corflags myassembly/DLL /32BIT+ but still no luck.

Any ideas?

Thanks,

Mustafa

Thomas
Telerik team
 answered on 30 Jul 2015
9 answers
107 views
I really apologize for being so hard, but you spam detection suck. Every post I made is recognize as spam. And all those post is not in my account -> Tracked forum posts.

Here are some screenshots:
http://cofovi.si/Files/Telerik/Screen1.png
http://cofovi.si/Files/Telerik/Screen2.png
http://cofovi.si/Files/Telerik/Screen3.png
http://cofovi.si/Files/Telerik/Screen4.png
http://cofovi.si/Files/Telerik/Screen5.png
Matjaz
Top achievements
Rank 1
 answered on 25 Jul 2015
1 answer
131 views

 

Hi,

I have 2 different pages like "HomeDesktop" and "HomeMobile" .If user comes from desktop i want to display "HomeDesktop"  as home page.If user comes from mobile i want to display "HomeMobile" as a home page.Is there any way.Please suggest me.

 Thanks,

Suresh

Stefani Tacheva
Telerik team
 answered on 24 Jul 2015
1 answer
73 views
Hi,
How to serve different pages for desktop and mobile.I have 2 different pages like "HomeDesktop" and "HomeMobile" .If user comes from desktop i want to display "HomeDesktop"  as home page.If user comes from mobile i want to display "HomeMobile" as a home page.Is there any way.Please suggest me.
 Thanks,
Suresh

Stefani Tacheva
Telerik team
 answered on 24 Jul 2015
3 answers
293 views

Hi All,

My requirement goes like , we dont have allowed list extensions , instead we have blocked list of file types/extensions. So i wrote java script which will check against the blocked list [i.e xml file]. should be removed from the upload file collection. So i wrote following  java script.

 function OnClientFileSelected(sender, args) {

               var currentFileName = args.get_fileName();
               var fileExt = '.' + currentFileName.split('.').pop().toUpperCase();
               if (!(IsValidFileType(fileExt))) {
                   // invalid file - inform user and remove
                   alert('"' + currentFileName + '" cannot be uploaded and will be removed.');
                   sender.deleteFileInputAt(args.get_rowIndex());
                   sender.deleteFileInputAt(currentFileName);
               }
           }

this script is runing fine. It is able to remove blocked file extensions from uploading. But in target folder am able to see the blocked files. It means in Front end the blocked file types are removed from uploading list.but in backend it goes to target folder.

 

Ivan Danchev
Telerik team
 answered on 24 Jul 2015
1 answer
86 views

We are looking for a developer to build on the Telerik platform a portal + app for our products/services 

We are located in Amsterdam, The Netherlands,

Interested? Then please send an email to Marco.Robben@mastermind.eu

Naren
Top achievements
Rank 1
 answered on 22 Jul 2015
0 answers
104 views

Hello,

We have DevCraft Complete.  Anything in there to help create a site wide search on an intranet?

 

Thanks

Bryan
Top achievements
Rank 1
 asked on 14 Jul 2015
6 answers
164 views
I purchased Telerik controls after spending some time using the demos and trial. However, I did not work very far into the advanced features before purchasing.

It turns out that there is almost zero documentation for anything but the most basic of functions, the controls have major bugs which go unfixed for years, and the support staff is unable to understand most questions.

What was to be a 3 month project has just hit 6 months, and I put the blame for that squarely on Telerik. Out of any given day, I spend almost 6 hours trying to find information on how to work around their controls, or get them to work at all. 

If you are evaluating Telerik, I advise you to search around the web for complaints about them. You will find that there are many, and that they all have a common complaint of poor documentation and bug-ridden controls. 

http://www.gitshah.com/2011/03/telerik-controls-perfect-example-of-how.html

http://www.telerik.com/forums/poor-documentation

Julian
Top achievements
Rank 1
 answered on 04 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?