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

I have a simple question: I just want to have a very simple RadWindow. Without Titlebar or Statusbar, without any border and without scrollbars.

I load a website into radwindow. Ok, I set all titlebar and statusbar things to false. I set EnableEmbeddedSkins and BaseSyleSheets to false.

I set width and height to a special value. But now, the window looks good but do not set the width and height.

What is the correct way to just show a radwindow that shows a simple DIV isnide  with a specific width and height?

Thanks,
Chris
Georgi Tunev
Telerik team
 answered on 29 Aug 2008
2 answers
118 views
I've got a user control on my Master Page that bubbles up an event to the Master Page.  The Master Page code that handles the event updates other controls (primarily the content place holder on the page but for the sake of this example let's just say it's trying to change the text on a button).  I'm trying to use the RadAjaxManager and a LoadingPanel, but the loading panel never shows up.  Do I have to have a RadAjaxManager on my UserControl even though I'm bubbling the event?  I haven't been able to find an example that fit this scenario.
Paul Bishop
Top achievements
Rank 1
 answered on 29 Aug 2008
2 answers
125 views
Hi,
i am trying to make an wizard control that first gathers all data, and after that it will save all data to db.

I have simple entity that has Id, Key,Value. I'd put entities into the list<type> collection. Id fields are empty because entities and collection exists in the session and they are not saved yet. DataKeyNames is set to Key.

Now.. It is binded as datasource. When i put an code to delete items i have some problems. Grid is using sorting and paging (not SQL).

1. It looks like it is working until u add some sorting capabilities. When u add sorting  number that u get as e.Item.DataSetIndex is not the one that corresponds to one that is index in the real collection. I couldn't find any way to get correct index. In product documentaion i read that it works only when datatable is binded.
2. I wonder how does it work when i am using objectdatasource with custom paging, or any objectdatasource? Will sorting work in this case, or i must use dataset?


Nikolay Rusev
Telerik team
 answered on 29 Aug 2008
2 answers
120 views
While typing a letter in a Telerik dropdown selects the item at the bottom not at the top. This is for all Telerik dropdown lists. Is there a way to get the selected item to always show at the top of the list?

Thanks,
Amit
Amit
Top achievements
Rank 1
 answered on 29 Aug 2008
6 answers
186 views
Hi,
Sorry for the double post but I did not know how to delete the other.

When I attempt to create hyperlinks on some of the text fields using the telerik rad editor for SharePoint, often times the link does not stay.  The issue occurs frequently when specifying the anchor using the hyperlink button.

Let's give it a try here.


So here is a link to an anchor that lives way down the page:

Now I have some text and lots more text.  When I click the title area to insert the anchor, it does not seem to stay.  Was this issue ever identified and resolved?

Well, it seemed to stick here.  Is this the full version and that's why it's working?  I am using the limited free version.  Is this a newer release?

Thanks!





Here is the test anchor.

UPDATE-
After checking the anchor link above, it looks like it may not have saved correctly after all.  When I add the anchor "1" to the text above, then go back into the link editor, it's gone.  On my site it does not save it when I click submit either.  I can provide access to the admin site if you provide me with an email to send the credentials to.


George
Telerik team
 answered on 29 Aug 2008
4 answers
153 views
For some reason with the default skin there seems to be a styling issue with visited  hyperlinks.  They turn black against the dark grey border rather than staying white.  Any suggestions would be greatly appreciated.
Wendelstam
Top achievements
Rank 1
 answered on 29 Aug 2008
5 answers
243 views
Hello,

I an issue where I cannot change the font text colour to white.

I test out with IE 7 & Firefox 3.

I also get the same result when using Telerik's default example:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/Default/DefaultCS.aspx

Can someone verify this potential bug?

Cheers,
Eddy
Rumen
Telerik team
 answered on 29 Aug 2008
2 answers
182 views

I have read thru other forum responses to this question and have used the following code which i found in forum responses.

protected

void RiskIdentificationGrid_ItemDataBound(object source, GridItemEventArgs e) //GridItemEventArgs e)
{
    
if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
         {
              
GridCommandItem cmditm = (GridCommandItem)e.Item;
               
LinkButton updateButton = (LinkButton)cmditm.FindControl("UpdateButton");
               updateButton.Visible =
false;

               

LinkButton lnkbtn1 = (LinkButton)cmditm.FindControl("InitInsertButton");
                lnkbtn1.Visible =
false;

                Button btn1 = (Button)cmditm.FindControl("AddNewRecordButton");
                btn1.Visible =
false;
           }
}

However, when I try to run, I get the following compile error...............

        No overload for 'RiskIdentificationGrid_ItemDataBound' matches
delegate 'System.EventHandler'

I have spent many hours trying to figure out why this is happening.  Am I missing something, and how can I resovle this.

I am using VS 2008,  RadControls for ASP.NET AJAX 3.5 and C#.

Thanks for your help.

Dick
Top achievements
Rank 1
 answered on 29 Aug 2008
5 answers
147 views
Hello everyone,

I have an issue with some of my IsDirty logic using the RadGrid control.  Basically we are inheriting the RadGrid control to create what is called RadGridView control in our pages.

Here is the logic to capture the grid data for an initial capture and for a current capture...

 
<P><FONT color=#2b91af size=2>RadGridView</FONT><FONT size=2rgv =   
(</FONT><FONT color=#2b91af size=2>RadGridView</FONT><FONT   
size=2>)childControl;</P> 
<P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2>   
saveCurrentPageIndex = rgv.CurrentPageIndex;</P> 
<P></P>  
<P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (</FONT><FONT   
color=#0000ff size=2>int</FONT><FONT size=2p = 0; p &lt; rgv.PageCount;   
p++)</P> 
<P>{</P> 
<P>rgv.CurrentPageIndex = p;</P> 
<P>rgv.Rebind();</P> 
<P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (</FONT><FONT   
color=#0000ff size=2>int</FONT><FONT size=2r = 0; r &lt; rgv.Items.Count;   
r++)</P> 
<P>{</P> 
<P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (</FONT><FONT   
color=#0000ff size=2>int</FONT><FONT size=2c = 0; c &lt;   
rgv.Items[r].Cells.Count; c++)</P> 
<P>{</P> 
<P>controlValues.Append(rgv.ClientID);</P> 
<P>controlValues.Append(</FONT><FONT color=#a31515 size=2>"_Pg"</FONT><FONT   
size=2> + p + </FONT><FONT color=#a31515 size=2>"Row"</FONT><FONT size=2> + r +   
</FONT><FONT color=#a31515 size=2>"Col"</FONT><FONT size=2> + c);</P> 
<P>controlValues.Append(</FONT><FONT color=#a31515 size=2>":"</FONT><FONT   
size=2>);</P> 
<P>controlValues.Append(rgv.Items[r].Cells[c].Text);</P> 
<P>controlValues.Append(</FONT><FONT color=#a31515 size=2>","</FONT><FONT   
size=2>);</P> 
<P>}</P> 
<P>}</P> 
<P>}</P> 
<P>rgv.CurrentPageIndex = saveCurrentPageIndex</FONT><FONT color=#008000   
size=2>//Reset page to saved page index.</P></FONT><FONT size=2>  
<P>rgv.Rebind();<BR></P></FONT> 

This is just part of the code to cycle through the data cells and create one big string of the control name and associated data. The format is a colon between control name and data. With a comma after each pair of control/data pair.  In the case of RadGrid the I added the page, row and col to the control name to identify each cell.

Ok, now the initial creatation of the string runs through this code with with no issues.  The grid is sorted in descending order and there is 11 items in the grid with paging on and page size to 10.  So I have 10 items in the first page and one in the second page. No problem.  The in my cancel button I do another capture and this time the same code is ran but now the page 0 has 10 items and then the page 1 has 10 items (same items).  It's like the move to page 2 (index 1) is not moving to the next page.

Why does this work on the initial creatation of the string but not the current creatation of the string.   What am I doing wrong???

TIA! JerryM

Rosen
Telerik team
 answered on 29 Aug 2008
3 answers
171 views
What am I missing?

here is my aspx code:

<radC:RadComboBox ID="cboImages" runat="server" Width="150px" DataSourceID="sdsMediaLibrary" SkinsPath="~/RadControls/ComboBox/Skins">
<itemtemplate>
<div>
<img src='../<%# DataBinder.Eval(Container, "Attributes['ImagePath']") %>' alt="" />
</div>
</itemtemplate>
</radC:RadComboBox>

My Code Behind in the ItemDataBound Event:

Dim item As RadComboBoxItem = CType(e.Item, RadComboBoxItem)
Dim row As DataRowView = CType(e.Item.DataItem, DataRowView)
item.Attributes("ImagePath") = row("ThumbUrl")

I checked the ItemDataBound Event and a value is being passed for "ThumbUrl", but when it renders I get:
<div>
       <img src='../' alt="" />
</div>
 and of course the big red X for the image in the dropdown

I have been pouring over the sample code and mine and I just can't seem to figure out what I am missing.

Thanks
    Mike

Michael
Top achievements
Rank 1
 answered on 29 Aug 2008
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?