First alert work, but second is not. I must work 3 alert sequentially? Can anybody give me an idea? Thanks.
.RegisterClientScriptBlock(this, this.GetType(), "Close_Window",
View Complete Post
i have aproblem with the alert, when i use it i want to keep in the current page.
when i write
the alert doesn't appear
what can i do now?
i had the following problem with alerts on wss, users get the first welcome alert notification but no other emails alerts when anything changed in a wss site, looking here found my solution but its gets more complex
here is my situation
i have move one site from my old wss3 server to an new wss3 server, everthing works fine execpt rules, users gets welcome alert notification but no other emails alerts on changes/add/remove,
on the same wss server i created a NEW site (from scratch) with the name portalsrv/test THE ALERTS HERE WORKS FINE for all users!!!
doing some tests i discover that on site that i have the problem with alerts (portalsrv\it) if a change the user's wss group membership from MEMBERS of the site to OWNER of the site THE ALERTS WORKS FINE!!!
its problably something with permssions during the migration from the old wss3 to the new wss3 but i dont have idea where to start search
any help on this?????
I have problem to "Set alert on this list" to one list (it is fine on other list). I got the following error:
Server error in "/" Application
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons).
It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration
file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
The strange thing is I already have the CustomErrors set off in my web.config and it always show me the detail of other errors in this list or other listsr? I also try set the alert on the local server
machine and get the same error without detail. So it seem the error only happen in this list and associated error detail cannot be dis
I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,
Note that the slashes go in different directions
I've tried a number of things but nothing seems to work. Thanks-
Partial Class Protected_imageupload
Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
' Initialize variables
Dim sSavePath As String
Dim sThumbExtension As String
Dim intThumbWidth As Integer
Dim intThumbHeight As Integer
Dim sFilename As String = ""
' Set constant values
'sSavePath = "images/"
sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"
sThumbExtension = "_thumb"
intThumbWidth = 160
intThumbHeight = 120
' If file field isn?t empty
If FilUpload.PostedFile IsNot Nothing Then
' Check file size (mustn?t be 0)
Dim myFile As Http
I'm working project it's live on shared hosting
we'er uploading photos to a file on the server everything works fine the photo is resized renamed and sent to the folder
the upload page returns the thumbnail and the full size photo it's there all the photos have to be approved by an admin
twice now after they have been approved they disapear I checked the folder they are not there could there be anywhere
on the server they could get hung up before they go into the folder I have it setup so when you delete the data base entry it deletes the photo from the folder othe than that you need to open the folder and delete the photo this has hapened twice now I tried to recreate it with no luck
thaks for your help in advance
I'm having a problem with an asp.net 3.0 application using a gridview to display data. The problem seems to be that despite a brand new .selectCommand being sent to the sqlDataSource, the gridview starts displaying data from *someone else's* query. For example, user A is logged in and will be working fine until a few page submissions later when the gridview data starts suddenly showing information that belongs to another user.
This is my first asp.net application, though I've been working with classic asp and ADO for years so I'm used to sending a SQL string and getting back the results from that string. Apparently there is a complex caching system which is interferring which I do not at all understand so at this point I just want to stop the server from caching any data whatsoever. Is this possible?
Any and all help will be much appreciated!!
I store some values from code behind to a label which is Hidden !
<asp:Label ID="lbl_Hidden" runat="server" Visible = "false"></asp:Label>
and at the page load event i retrieve the value of the label & assign it to a string !
stringvalue = lbl_Hidden.Text;
Now i dont know why this manipulation does'nt work !
I've a character 'A' in the string and i'm unable to replace it with a space !
stringvalue.Replace(A, " ");
Wot do u think abt it ????
I have a parent page ProdView.aspx and two static UserControls, UC1 and UC2. Each UC is in an Ajax accordion pane and the accordion inside an updatepanel.
UC1 has a Gridview footer with couple of textboxes and a link button that fires an Add Row insert procedure. I want to Raise an event that will rebind the UC2 after the row insert in UC1.
First I created the sub delegate and event in UC1:
In the same UC1 the Insert procedure that fires the insert and RaiseEvent:
Sub PricingGrid_Insert(ByVal sender As System.Object, ByVal e As EventArgs) Dim myConn As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("LocalSqlServer").ConnectionString) Dim myCom As SqlCommand = New SqlCommand("AddRow", myConn) myCom.CommandText = "AddRow" myCom.CommandType = CommandType.StoredProcedure
Try myConn.Open() &nb
I have a gridview with Enable selection and Enable Paging equals to TRUE.
I also set the PageSize of my gridview to 4 so that I only displays 4 rows per page.
The problem is when I click the pager in the bottom of my gridview, my gridview is disappearing and no records appear.
Here is code behind of my gridview:
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes("style") = "cursor:pointer"
e.Row.Cells(2).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(3).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(4).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(5).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(6).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
I want to make Rolebase menu in MVC such that if user doesnot have permission for some action then that Action name shouldnot be shown in the Menu.
I have used the code in the url(http://forums.asp.net/t/1566328.aspx) in my MVC application.My application is a Discussion Forum(in MVC) same functionality as in this forum forums.asp.net
I have used Controllers for post, thread etc.In each controller there are some actions that are using [Authorize(Roles)] attribute
but this coding does not count those Actions in Controllers having Authorize attribute according to the url http://forums.asp.net/t/1566328.aspx
In the code, Authorize attribute is applied to Controller class, but my requirement is of Applying Authorize attribute to some actions in controller so that some are available for all users and some links are available rolewise.Now what is the solution for that?
I'm trying to upgrade to .NET 4 and MVC 3.
When trying to compile my project, I get the error:
The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
I do have the System.Web.Routing in my references for the project.
BUT - when I try to view System.Web.Routing in the OBJECT BROWSER, nothing is inside! The System.Web.Routing namespace is not in there - the entire thing is empty! Could it that the dll is corrupted? I tried to reinstall the .NET 4 and MVC 3 stuff, but its still empty!
The dll is coming from here:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Routing.dll
and the runti
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx .
My question is where do I find the DesignPanel.pre.js ?