Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
103 views
Hi,

I have two RadDock on my page, I want to customize the css of only second dock.
Basically I need to give margins only to the second Dock (rssbottom) only, how can I achieve this?

I tried to override the .RadDock css class but this one is applied on all the Docks on page.
I also tried .RadDock rssbottom but no success with this also.
Ajay
Top achievements
Rank 1
 answered on 05 May 2011
4 answers
145 views
Hi,

I seem to have a simple issue that I can't fix!

I have a RadToolBar within a RadGrid CommandItemTemplate.
When clicking any tool bar button, the functionality works fine but the state (ie: Checked) is lost.

When the button is clicked, the datatable is filtered, then I recall DataBind() then the tool bar button resets to the 'off' state.
Snippet below,

Any ideas for a quick fix?

Thanks,
Harry

  <CommandItemTemplate>
           <div class="filterEvents1">
<telerik:RadToolBar ID="tbButtons" runat="server" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"   OnButtonClick="RadToolBar1_ButtonClick" EnableViewState="true" AutoPostBack="false" >
<Items>
<telerik:RadToolBarButton  CheckOnClick="true" ImageUrl="~/images/ico-all-inactive.png" Group="showAll"
CheckedImageUrl="~/images/ico-all-active.png" height="19px" Checked="false"  CommandName="showAll"  />
Maria Ilieva
Telerik team
 answered on 05 May 2011
4 answers
235 views
Hi, I'm using your example from http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx.  Everything works great except the update and I've spent too long trying to get it to work.

I have a 3 part column key (DataKeyNames="Col1,Col2,Col3").  In the RadAjaxManager_AjaxRequest I'm passing back the values of the keys, but what is the proper syntax (or method) to retrieve the GridDataItem object. 

RadGrid1.MasterTableView.FindItemByKeyValue(keyname, keyvalue); ????

Thanks.

Vasil
Telerik team
 answered on 05 May 2011
3 answers
98 views
I am using Auto-Generated columns for Edit/Delete on my grid.  How do I set them to imagebutton rather than linkbutton?


I am sure this is simple, but I can find it.
Martin
Telerik team
 answered on 05 May 2011
1 answer
78 views
Hello,

I have 2 custom commands and 1 close command. Though all the images are of same size they are not aligned and their size changes automaticaly. Plz see attached image.

CSS used:
.CustomCommandRefresh
    {
        top:1px !important;
        height:16px !important;
        padding-bottom:0px !important;
        margin-bottom: 0px !important;
        background: url(/Images/arrow_rotate_clockwise.png) no-repeat !important;
    }
    .CustomCommandEdit
    {
        top:1px !important;
        height:16px !important;
        padding-bottom:0px !important;
        margin-bottom: 0px !important;
        background: url(/Images/cog_edit.png) no-repeat !important;  
    }
    .CustomCommandClose .rdClose
    {
        top:1px !important;
        height:16px !important;
        padding-bottom:0px !important;
        margin-bottom: 0px !important;
        background: url(/Images/cross.png) no-repeat !important;  
    }
 .rdCommands
    {
        position: absolute !important;
        right: 0px;
        top: 1px;
        height:100%;
    }


Can you please suggest me css where it can be corrected each of size 16px and aligned in one line ?
Bozhidar
Telerik team
 answered on 05 May 2011
10 answers
163 views
Hello,

I've been working on installing a pre-existing and functioning Telerik-using Sharepoint site from another machine onto a fresh machine, as well as updating from .NET 2.0 to .NET 3.5 Telerik versions.  As it would turn out, things went terribly wrong.

I will attach a bunch of screenshots and code files so anyone who attempts to assist me with this issue will at least be armed with a visual depiction of the chaos I'm attempting to reconcile.  I have taken the following steps and tutorials in my attempts to make this work:

  • Adding various Assembly and Register commands into the .ascx/.aspx files in attempts to have it recognize tags and assemblies required
  • Multiple Google search results of similar issues, none of which seemed to have a beneficial effect
  • Heavily modifying the web.config based on tutorials and other help issues
  • Tutorial: ASP.NET AJAX 1.0 as a precursor to
  • Tutorial: ASP.NET AJAX 3.5
  • Conferred with multiple other developers on this issue.

Since I began writing this post, I've been attempting to rebuild and deploy the different modifications of the code for screenshot purposes and I am now receiving another error, which is most likely related to and/or caused directly by the web.config modifications I made based off posts and tutorials.  So I will have to explain using words.

Phase 1
Initially, the webparts were automatically implemented into the page by the code prior to loading the page, and would display a single line of text error which I can no longer re-create...but said something along the lines of the webpart encountered an error and cannot be displayed.  Eventually we remedied this by removing all automatic adding of the webpart, and ended up with a blank page on the initial load as is in the screenshots.

Phase 2
Now that we had the page loading and were just missing the webpart, we would add it manually via the Site Actions > Edit Page and Add a webpart options as are also shown in the screenshots.  This would result in one of two errors depending on the code.  
  • If the Telerik tags were not labelled correctly, (ex. rad:RadTab was called rad:Tab at one deploy) the webpart was added correctly and had a single line of text which stated "Data Not Available:Unknown server tag 'rad:Tab'."
  • The other error seemed to occur if all the spelling was correct and everything in the code was correct.  That was the generic Sharepoint error as shown in the screenshots.  "An Unexpected Error Occurred." which is of course informative and helpful.  And yes, the web.config had the settings set such that errors should be very verbose (customErrors=Off, debug=true, etc.)
So it would seem that I was very close to achieving the goal of getting the webpart added correctly... or perhaps not, because as of this morning when I was running through the AJAX tutorials which I had previously not gone through, I encountered something new

Phase 3
Currently upon attempting to add the webpart to the page, I receive an error I've never seen until today which likely means it's related to the web.config modifications I've made based off the noted tutorials.  This error is also shown in the screenshots; the dialog about the webpart not being 'safe' ...

So that's the basic story of my last week.  I will attach the current .ascx and associated .aspx pages, the web.config... anything else someone needs to see to help with this?

Thanks in advance should you attempt to aid me,
Jon

p.s. Apparently the attachments can only be images... how helpful.  Here's a link to the zip to download the files I wanted to attach to this post...

p.s.s. I will continue on my time to work on this as well and post if I find anything of interest / make progress...
Tsvetoslav
Telerik team
 answered on 05 May 2011
1 answer
84 views
Hi All,

How can i use ItemTemplate in GridTableView of DetailTables section.

Below url describes use of ItemTemplate in MasterTableView. But i want the same functionality in DetailsTables section.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx

Thanks in advance.

Thanks and Regards,
Sumanth
Tsvetina
Telerik team
 answered on 05 May 2011
4 answers
110 views
Dear All
I'm using RadScheduler and I want to Disable back button in the scheduler so only the forward button is enabled
Thanks,
Mohamed
Top achievements
Rank 1
 answered on 05 May 2011
9 answers
234 views
Hi,
I have a recurring appointment and i list all the occurrences in a datagrid. Now when i click on one of the occurrences, i would like to open/edit that occurrence, not the series. (currently it goes to the view of opening the series), Any suggestions how to achieve that?

regards,
Naresh
Peter
Telerik team
 answered on 05 May 2011
1 answer
52 views

Hai


I am creating an online application for attending quiz programs. I am using telerik controls in the application. This application is going to have two users admin and user. Admin is the one who is creating exams and assign test to the user. The user will register themselves for the test and attend the test. How can i effetcively design the test pagewith these controls?



Thanks
Georgi Tunev
Telerik team
 answered on 05 May 2011
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
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
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?