so, i need to reset every time in the postBack for load new pointhow can i do?
View Complete Post
We have a default SharePoint 2010 installation. So an out of the box site template, out of the box document libraries/lists etc, out of the box theme (default one) etc.
When we check the checkbox next to a document in the shared documents library, the tab in the ribbon automatically switches to the document tab. In this tab there is a button "delete document". When I click that I get a confirmation request, I click OK,
and then I get a little yellow box in the upper right corner that tells me SharePoint is deleting the document, and then nothing happens.
The document stays where it is, no refresh of the page as SharePoint should do...
This is not a file created by me, so I guess it comes with SharePoint and that I should not touch it.
So what do I do now?
I have another server that we use for SharePoint testing, and there the button works as it should, so it's not SharePoint either...
Problem is that we use this server to give basic SharePoint trainings to our employees, so it's not a very good start
Here is the content page:
I have a file util.js and there some funtions in same file.
For example functions name are keyUp, keyDown, isNumeric, isAlphaNumeric
I have used these functions in aspx code behind in a textbox to restrict user that he may not be able to input any special character.
Before, I used the code directly in aspx file but I have do it for different textboxes therefore to avoid much coding in aspx file I created util.js and put all code in this file but how to use these particular functions in aspx file I couldn't find the way.
Anyone have idea. Do share with me.
I used the reference like this:
' Font-Names="Verdana" Font-Size="8pt" Onkeyup= "keyUp(event.keyCode)" Onkeydown="return isAlphaNumeric(event.keyCode);" onpaste="return false;">
In the Admin Links web part in a default blog site, there are several links, the last one of which launches Microsoft Word and allows you to manage your posts from the Word blog template. Cool feature. But that web part is not configurable and I can't figure out how to duplicate that functionality. It appears to have 3 GUIDS that are part of the function, part of the last parameter looks like the Posts list GUID, but it is concatenated with another GUID. I want to either create my own web part or modify the XSL of the page to call the function, but I'm not sure what those other GUID parameters are. Does anyone know? The last one seems to be two of the separated by the # character.
<atlas:UpdatePanel ID="UpdatePanel1" runat="server" Mode="Conditional" >
Hello from inside the update panel!!!!
<asp:Button ID="foo" runat="server" OnClick="foo_Click" Text="Click me to postback!" />
would cause the function alert() to run every time the UpdatePanel returns from the button click. This is not the case, however.
How do I do this? My update panel contains a scrolling Div and I
Here is the problem
private void Page_Load(object sender, System.EventArgs e)
int flag = 1;
btn_ModifyApprove.Attributes.Add("onClick", "return ValidateModifyApproval('" + Flag + "');
I have a datalist and there is a check box within this datalist in a .ascx page. But I have to have an image out side the datalist. So here is the code and its not owrking. When I click on the image, I dont see any alert box.
// set var checkboxSelect to zero
var checkboxSelect = 0;
var sProducts = "";
var multiCheck = window.document.forms["frmCompare"].CompareCheck.length;
if (multiCheck != null)
// Loop from zero to the one minus the number of checkbox button selections
for (counter = 0; counter < window.document.forms["frmCompare"].CompareCheck.length; counter++)
var seperator = (checkboxSelect > 0)?",":"";
sProducts += sep