Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
117 views
I would like to set a limit on the file types selected by the file upload control, i have done it like this:

   if(!IsPostBack)
            {
                RadUpload1.AllowedFileExtensions = new string[] {".doc", ".txt"};
               }
but it keeps picking up every file in a folder. does anyone know what im doing wrong.

Omlac
Top achievements
Rank 1
 asked on 08 Sep 2008
1 answer
45 views
Hi folks,

I am using the all new Q2 release, and I want a really customized paging for my purpose. for e.g I want both the next/prev link buttons as well as the drop-down for pages along with the numeric page number range. so the pager would look like as under:

<<First <Prev    1 2 3 4 5 .. 10 Next> Last>>                    [DropDown Pg.No]
 
Please let me know what's the best solution for the same.

-Thanks
Nhilesh
Shinu
Top achievements
Rank 2
 answered on 08 Sep 2008
1 answer
166 views
Hi..
Set EnableEmbeddedSkins = true.
But when I deploy my site the skins to do not appear.
What am I missing?

thanks
Atanas Korchev
Telerik team
 answered on 08 Sep 2008
1 answer
219 views
Hi 
 
     how to delete mulitiple rows in telerik grid view...
     i know how to delete in asp grid view....
     

    

<

asp:TemplateField>

<HeaderTemplate>CHOIX</HeaderTemplate>

<ItemTemplate><asp:CheckBox ID="chkSelect" runat="server" /></ItemTemplate>

</asp:TemplateField> 

protected

void btnDelete_Click(object sender, EventArgs e)

{

foreach (GridViewRow row in grdParascolaireAct.Rows)

{

CheckBox chk = (CheckBox)row.FindControl("chkSelect");

if (chk.Checked)

{

string uid = Convert.ToString(grdParascolaireAct.DataKeys[row.RowIndex].Value);

BLParascolaireAct.Harddelete_ParascolairAct(uid);

BindParascolaireAct();

}

}

}


 But in telerik grid in select option is differ from asp:grid
i cant set id in following taq
<telerik:GridClientSelectColumn UniqueName="column" ></telerik:GridClientSelectColumn>

so how to delete mutiple rows in telerik grid

plz reply

azees

Shinu
Top achievements
Rank 2
 answered on 08 Sep 2008
1 answer
84 views
Hi everyone!

Do you know how to overwrite RadEditorMoss to Rich Editor of Share Point.?
Lini
Telerik team
 answered on 08 Sep 2008
1 answer
91 views
I'm in the process of creating a custom skin who's css file is an embedded resource following the steps defined here.

I have a problem when I set Skin="Custom" and EnableEmbeddedSkins="false". The calendar icon for the date picker disappears because the end HTML tag ends up as:
<img style="border-width: 0px;"  
alt="Open the calendar popup."  
src="datePickerPopup.gif"  
id="RadScheduler1_SelectedDatePicker_CalendarPopupButton"/> 
The problem is the src attribute is wrong, and I can't find a way to change it within the radScheduler properties.

The radDatePicker gives us the option to change the DataPopupButton HoverImageUrl, and ImageUrl properties, is there something similar in radScheduler? If not, is there any other way to access the image source via aspx markup syntax or css?


Alex Gyoshev
Telerik team
 answered on 08 Sep 2008
1 answer
78 views
Hi!

I've got a big problem. I can't find the windowmanager.Language Property In the build 2008.2.826.20.
Are there any problems or do I miss anything?
You described the Property in your online Documentation and I used it in my app with the old controls (2007)

I use telerik controls in a multilanguage Website so it is essential to set the language for the localisation. I hope you can help me to solve my problem.

Thx

Michael
Georgi Tunev
Telerik team
 answered on 08 Sep 2008
5 answers
727 views
$0I'm using fiddler to help monitor the performance of our website and more often than not i'll see the page downloading the 'telerik.web.ui.webresource.axd' file thats anywhere between 400 and 900k.  I have debug mode set to false and compression in IIS turned on.  Any ideas on how I can speed this up or reduce the webresource requests/size?$0$0$0$0$0Thanks in advance$0
Sebastian
Telerik team
 answered on 08 Sep 2008
2 answers
88 views
If I submit ->  update ->  then click the X in the radpanel everything works fine.  The radpanel on client close event fires and then the update panel updates.  Works great!

function OnClientclose(radWindow)
{

var
refreshCalendar = document.getElementById('ctl00_ContentPlaceHolder1_Button1'); refreshCalendar.click();
}

protected void btnRefreshCalendar_Click(object sender, EventArgs e)
 { 
//reload dataset here;
updatePanel.Update();
}


The problem occurs when I am trying to do an insert to the database in the radpanel and then automatically close it.  I dont want the user to have to manually close the window.

btnSubmit1.Attributes.Add("onclick", "CloseRadWindow()");

When I try to attach some javascript to the radwindow to close the window I have found a strange order of procedures that maybe someone else can understand.   What happens is that the window closes,  the update panel refreshes and then the database updates.  I have even verified this in the profiler.  So the problem is that the update panel refreshes but the database hasnt updated yet.    Is there any other way to do this besides trying to inject the code directly without refreshing the updatepanel?  Somehow delay the closing of the radwindow untill it has ran the update function?

Thanks for your time.



function GetRadWindow()
{
var oWindow = null;

if (window.radWindow)
oWindow = window.radWindow;

else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;

return oWindow;
}

function CloseRadWindow()
{
var oWindow = GetRadWindow();

oWindow.Close();
}



ls
Top achievements
Rank 1
 answered on 08 Sep 2008
5 answers
222 views
I have a Promethues Radgrid. i have added tooltip for specific cells in the grid using RadTooltipManager. when i have clicked on the cell it show the tooltip content fine but it also shows the tooltip when i have clicked the column for sorting.
Is it possible to hide the tooltip, when radgrid column clicked? 
Tervel
Telerik team
 answered on 08 Sep 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?