I'm having a hard time to use the delete function of listview with a custom javascript delete confirmation.
What I'd like to do is use the bootstrap modals, such that onClientClick will trigger a modal, prompting the user to confirm or cancel. I can't quite figure out how to wire up the modal to the linkbutton to return true\false to the link button while breaking the postback. Has anyone done something similar?
Current code:
<
asp:LinkButton
ID
=
"lnkDeleteQuote"
runat
=
"server"
Text
=
"Delete"
CommandName
=
"Delete"
OnClientClick
=
"if(!confirm('Are you sure you want to delete this?')) return false;"
></
asp:LinkButton
>
How to place the drop-down list to expand on the page immediately below the input area in chrome Browser.
It is working Fine in Firefox and IE but in chrome its not working properly.
The Issue occurs ​when the Page is Scrolled down and when we are opening the drop-down list
it is detaching from the immediately below the input area.
I have two RadButtons on a page, 'save' and 'save and exit' (see attachment..). When I click on the 'save and exit' button, I get the expected behavior however when I click on the 'save' button, the functionality dose not work. It is strange because although the buttons do the exact same thing except that 'save and exit' redirects the user to a different page.
Why is the confirmation window not showing when I hit the save button?
Please advice
Thank you
Hello
Attached picture with my problem, the filter goes behind the Popup Modal
how to solve? in vb.net language
my .aspx
<telerik:RadGrid ID="RadGrid2" runat="server" AllowFilteringByColumn="True" GroupPanelPosition="Top" AllowPaging="True">
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
</telerik:RadGrid>
I am trying to use a datatable as a radgrid source and display an image in the cell. I have followed this example (Displaying Images in a GridView Column), but it just displays the URL string instead of the image. In searching for a solution many people have this same problem. I have tried other things, but they too do not work.
If I use RadGrid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) and the first code section below it works. Unfortunately that brings up another problem. I also use ToggleRowSelection(object sender, EventArgs e) and this removes the image when it is called. I could possibly call RadGrid_ItemDataBound from ToggleRowSelection, but one has EventArgs and the other has Telerik.Web.UI.GridItemEventArgs and casting does not work. There may be a better way to get RadGrid_ItemDataBound to fire after ToggleRowSelection, but I would like to be able to put the image in initially if possible.
RadGrid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
...
Image imgTrue =
new
Image();
imgTrue.ImageUrl =
"images/true.png"
;
item[
"Picture"
].Controls.Add(imgTrue);
Here is my code from the linked example. images/false.png appears instead on the image.
DataTable oDT =
new
DataTable();
//oDT.Columns.Add("Picture");
oDT.Columns.Add(New DataColumn(
"Picture"
, GetType(String));
DataRow myRow = oDT.NewRow();
myRow[
"Picture"
].ResolveUrl(
"images/false.png"
);
oDT.Rows.Add(myRow);
DataSet MyDataSet1 =
new
DataSet(
"pic"
);
MyDataSet1.Tables.Add(oDT);
RadGrid1.DataSource = MyDataSet1;
RadGrid1.DataBind();
I'm having a hard time wrapping my brain around this one! The AsyncUpload is going to be part of a form that captures other information about the document. The file will be uploaded to the server and a new record is inserted into the database. As part of this, I am also modifying the filename.
My issue is that the file is moving out of the temporary location before any of the service side code is run. It IS uploaded OK and moving to the right folder. But it is doing it immediately at the form's submit button click so I am unable to change it's filename. This then causes my script to error out because it can't find the temporary file (it is already removed).
I'm sure this is a rookie question! But please take a look at this code. Thanks!
protected void btnDocUpload_Click(object sender, EventArgs e)
{
foreach (UploadedFile file in RadAsyncUpload1.UploadedFiles)
{
//we are going to rename the file with the Catnumber + the date
string newDocName = txtCatNumber.Text + DateTime.Now.ToString("M-d-yyyy");
docBL doc = new docBL();
doc.DocumentUpload(txtCatNumber.Text, newDocName);
file.SaveAs("_SDFiles_\\" + newDocName + file.GetExtension(), true);
}
}
Utilizing: ASP.Net AJAX Q3 2014
I'm opening windows, containing an aspx page, with various controls (combo, text, numeric, datepicker, etc.). The RadWindowManager is set to KeepInScreenBounds="true" and RestrictionZoneID="ContentPane". When running it on my Windows 7 desktop, it works great. When running it on my Windows 8.1 ​Windows Surface Pro 3, the page controls lose focus after I click in the text entry box. It then refreshes the window and doesn't allow me to change the value in the text box. If I click on a RadComboBox, it fires the query and displays the dropdown; but, when I click on the text box to change the combobox value, it doesn't allow me to change the value in the text box.. This only applies to pages that are contained in a RadWindow, when running on a Windows Surface. The problem might be specific to Windows 8.1; but, I don't have another 8.1 machine to test it. Other aspx page controls work fine. If I take the problem page and run it as a stand-alone page, without RadWindow, it works fine. If I remove the RestrictionZoneID property from the RadWindowManager, the controls no longer lose focus; but, of course, I lose the ability to KeepInScreenBounds. By the way, I get the same result whether I use the fancy RadWindow properties (below), or not. In other words, if I just use ... <telerik:RadWindow ID="AssetCreateDialog" runat="server">, I get the same result.
<telerik:RadWindowManager ID="RadWindowManager2" runat="server" EnableShadow="true" Style="z-index: 12345" KeepInScreenBounds="true" RestrictionZoneID="ContentPane">
<Windows>​
<telerik:RadWindow ID="AssetCreateDialog" runat="server" Title="Create Asset" Height="650px" Top="50px"
Width="800px" Left="125px" ReloadOnShow="true" ShowContentDuringLoad="false" VisibleStatusbar="false"
Modal="true" Behaviors="Move, Resize, Close">
</telerik:RadWindow>
​
Hi,
I have a radgrid and i have an image button to export . On click of image button show loading panel and once the file is exported close the loading panel.But once i hit the export the loading panel still remains even after the file is downloaded. Can you help me to show loading panel during Export to excel.
Thanks in Advance.