Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
80 views
Hi there,

I'm sorry if this topic is irrelevant to the forum. I just want to know which control(s) are used for this demo: http://demos.telerik.com/aspnet-ajax/imagegallery/. I would like to build an photo album like this. Thanks!

Long
Konstantin Dikov
Telerik team
 answered on 19 Nov 2013
2 answers
80 views
Hello Everyone!

I have an editable RadGrid, and I would like to be able to intercept the primary key value and look up a value from another table prior to the insert.  I have a working SQL Query since it will function just fine on Update (just compares primary to foreign keys already in SQL), but I cannot grab the value from the value from the textbox prior to the InsertCommand firing (compare that value to the foreign key).  I've tried capturing the textbox value on InsertCommand and InsertButton_Click.

Can anyone please advise me?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 19 Nov 2013
0 answers
90 views
I have a strange issue that I cannot figure out. Whenever I run my project locally in visual studio, radgrids do not show correctly, but if I publish my project to either our development server or production server, then it shows correctly. It used to work fine and I am not sure what changed.

I took the rendered html files from my local environment and on our server and did a compare between the two. I found that whenever I rendered the file locally, I was missing the following:

<table class="rgMasterTable" id="ctl00_MainContent_grdRoleEdit_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">
<colgroup>
<col />
<col />
<col />
<col />
</colgroup>
<thead>
<tr>
<th scope="col" class="rgHeader">Role Name</th><th scope="col" class="rgHeader">Company</th><th scope="col" class="rgHeader">Signing Limit</th><th scope="col" class="rgHeader">&nbsp;</th>
</tr>
</thead><tfoot>
<tr class="rgFooter">
<td align="left">

Completely missing, doesn't show in the browser at all, but if I look on our development or production servers, it's there. Tried multiple browsers with the same result. I cannot understand when all of the sudden code would disappear locally, but not when i publish it to another server.

*** UPDATE ***: Issue fixed by reinstalling telerik Ajax controls and removing and reinserting Telerik reference.

Thanks,

Ryan
Ryan
Top achievements
Rank 1
 asked on 19 Nov 2013
2 answers
234 views
Hi I have been attempting to use RadWindow to create a popup that is like the style of the attached image. I have been able to remove all of the control elements and borders using the following styles:

.RadWindow_Default .rwCorner .rwTopLeft, 
.RadWindow_Default .rwTitlebar, 
.RadWindow_Default .rwCorner .rwTopRight, 
.RadWindow_Default .rwIcon,
.RadWindow_Default table .rwTopLeft, 
.RadWindow_Default table .rwTopRight, 
.RadWindow_Default table .rwFooterLeft, 
.RadWindow_Default table .rwFooterRight, 
.RadWindow_Default table .rwFooterCenter, 
.RadWindow_Default table .rwBodyLeft, 
.RadWindow_Default table .rwBodyRight, 
.RadWindow_Default table .rwTitlebar, 
.RadWindow_Default table .rwTopResize,
.RadWindow_Default table .rwStatusbar,
.RadWindow_Default table .rwStatusbar .rwLoading
    {   
        display: none !important;  
    }


The rounded corners and the drop shadow remain. I can do without the drop shadow, but the rounded corners fit in the theme of the site.

Thanks in advance for any help.

Steve 
neebs
Top achievements
Rank 2
 answered on 19 Nov 2013
8 answers
570 views
Hi, 

I am using RadListBox with checkboxes for user to do multi-selections. But the select options in the list box is massive data, so the postback ViewState is huge. What I did to solve is set EnableViewState="false", then try to grab the checked item in request form. This is my code:

front end:
<telerik:RadListBox ID="listbox1" runat="server" CheckBoxes="true" EnableViewState="false"
                    SelectionMode="Single">
                </telerik:RadListBox>

back end:
var listbox = Request.Form[listbox1.ClientID + "_ClientState"];

The select options are populated in Page_Load().
First I noticed "Request.Form[listbox1.ClientID]" does not exist in the form returned, instead there is "Request.Form[listbox1.ClientID + "_ClientState"]". I guess it's a difference between RadListBox and regular ListBox I am not sure.  But I am not sure what should I do next.
I want to grab the checked options. How can I do that? What structure is the "ClientState"?

Or is there another better way to get ride of the Huge ViewState issue? I know this has been a pain from ASP.NET, but any help will be appreciated.

Thanks

Rui
Top achievements
Rank 1
 answered on 19 Nov 2013
3 answers
83 views
I have a situation in which the scheduler will already be open and an item will be added to one of the resources, either by another user or the current user on a different page. When the advanced form is shown, the new item is not in the list. Is there any way, short of refreshing the page, to trigger a refresh of resources?

Plamen
Telerik team
 answered on 19 Nov 2013
13 answers
496 views
I have AllowColumnResize="true" and I would like to set a minimum column size for the column resize drag.
I do not like the 'column width must be non negative' message that pops up if I drag the size past 0 or stop the drag at less than 10 pixels. Sometimes It causes error's or put the column into reorder drag mode.
In my application, there is no reason to set the column size below 30 pixels.
I would like the drag to simply not allow the width to get below 30 pixels. This would avaoid the message and also keep my filter row from wrapping the image.
I understand that this may not be possible without changing the source code.
If so, is there anyway to set the column size to 30 whenever the user tries to make it less than 30 (after the drop).
I have tried resizing the column back to the minimum in OnColumnResized, but calling resizeColumn(index,width) from within the call causes the header and item widths to differ (and also causes an error sooner or later).

Any ideas would be appreciated.



Dave Wolf
Top achievements
Rank 1
Iron
 answered on 19 Nov 2013
5 answers
105 views
Just updated to the latest version today and noticed buttons aren't skinning correctly when inside a raddock inside a raddockzone (I'm using custom skins). See attached images.

Fixed by adding this style to my page with docks on the page:

.RadDockZone, .RadDockZone * {
box-sizing: border-box !important;
-moz-box-sizing: border-box !important;
}

Cradz
Top achievements
Rank 1
 answered on 19 Nov 2013
1 answer
35 views
Hi all,

I'm facing an issue with TabPanel where the controls inside the ContentTemplate are not added to .designer.cs file (using Web Application project). That means I can't reference those controls like I can for those inside templates in UpdatePanel, etc. The only way is to use .FindControl("") and assign the result to a special class field I create.

Any ideas? Thanks.
Hristo Valyavicharski
Telerik team
 answered on 19 Nov 2013
2 answers
157 views
Hi,

I am having a strange issue that I haven't met before. I am using asp.net ajax tools for years now and loving the radEditor component. I took two screenshots to show the issue. You can see them in attached files.

The thing is, I am using Bootstrap 3 for design of the site and using it's modal component to save and edit records. I have a radEditor inside the modals that have ToggleScreenMode button in the toolbar. When I click to toggle to FullScreen, editor are expands to screen size starting from the original top left corner and cannot be accessed because of the gray modal. I tried to set its position attributes thinking that it uses an absolute positioning but couldn't find a solution with that.

The question is, how can I use radEditor fullscreen function when the editor is placed inside a modal container which has a position of absolute?

Thanks...

EDIT: Reattached 2nd screenshot. Ignore the first 2.jpg please.
İlter
Top achievements
Rank 1
 answered on 19 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?