<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<script type="text/javascript">
function clearFileInputField(divId) {
document.getElementById(divId).innerHTML = document.getElementById(tagId).innerHTML;
}
</script>
<asp:Label ID="Label1" runat="server"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="divFileUp3">
<asp:FileUpload ID="fileUpload1" runat="server" />
</div><asp:Button runat="server" Text="Remove" OnClientClick="clearFileInputField(divFileUp3)"/>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
Wednesday, November 14, 2012
Clear FileUpload filename
We can do this using javascript. Please refer below code sample
Wednesday, November 7, 2012
Thursday, November 1, 2012
Saving Changes Is Not Permitted On SQL Server 2008 Management Studio
To allow you to save changes after you
alter table
, do disable prevent changes:- Open Microsoft SQL Server Management Studio 2008
- Click Tools, then click Options
- Click Designers
- Uncheck prevent saving changes that require table re-creation
- Click OK
- Try to alter your
table
Subscribe to:
Posts (Atom)
TinyMCE Insert/Edit link not editable
To fix this add e.stopImmediatePropagation() as below. $(document).on('focusin', function (e) { if ($(e.target).close...
-
I spent plenty of time for delving into this problem' depths. I can summarize the solution as follows: 1. Create The Entity Class (e.g...
-
Image upload with CKEditor. My latest issue was how to integrate CKFinder for image upload in CKEditor. Here the solution. 1. Download C...
-
Introduction: In my MonoGame Android project, I wanted to provide users with the option to rate my app when they clicked a button within the...