avi??
Please read this or watch the proposed video.
I don't think media element supports avi files.
User Profile
Collapse
-
-
Yes, using location for the files is the cleanest way to do that.
What you could also do is deny acces to unauthenticated users and grant acces to the specific role where your html files are. In you web.config:
Code:<authentication mode="Forms"> <forms loginUrl="/yoursite/default.aspx" name="name" timeout="20" protection="All" path="/">
Leave a comment:
-
row.FindControl doesnt work for controls inside the edititemtemplate
Hi, I have a gridview with some templatecolumns , I need to retrieve the value from a textbos inside a edititemtemplat e in the rowupdating event. I can get other controls using findcontrol method in the current gridviewrow, but It always returns null when I try to access the controls inside the edititemtemplat e. I'm not using objectdatasourc e, just a plain grid and I'm doing this to bind the grid:
Code:If Not Page.IsPostBack Then
-
-
OK, have you checked that the record with this data exists:
Code:where reason.EmployeeNominationID=@EmployeeNominationID and reason.datecreated =@datecreated
Is employee nomination Id a unique value?, if so, try this part:
Code:where reason.EmployeeNominationID=@EmployeeNominationID
Leave a comment:
-
Sorry, I'm maybe not understanding but i'll guess, maybe
reason.datecrea ted =@datecreated is what makes it doesn't updates, because you are not passing any meaningful value to this parameter. Is an output parameter and it doesn't seem to be initialized. Maybe it makes that the updates never happens.
Hope it helps.Leave a comment:
-
I don't get what are you tring to do with your regex, but it seems like too compicated.
Look, at the first part, ^($=.*\n), this expression will match the start of the line only, since you are using ($=, this is a regex token to look for a char with some other ahead of it.
in example, a($=b), will look for an a followed by a b, like ab, but will only match the a. So ^($=.*\n) will match if there is any character or none...Leave a comment:
-
-
yes, ^ and $ mark the beggining and end, ^ is only negation when you use it insede square brackets.
Maybe you can explain us your password policy and we can help you built your regex?...Leave a comment:
-
-
I may be wrong, but i think that is simply no possible and you'll have to rewrite the control for the web application.
Windows user controls don't inherit from the same classes as the web controls.
If it is possible, I'll love to know how though. But i'm pretty sure is not....Leave a comment:
-
Please try this one, instead.
Code:ScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), "alert('hello');" + Page.ClientScript.GetPostBackEventReference(this, "") + ";", true);
Leave a comment:
-
Hi, I'm not an expert or something.
I think the best way to validate user input(client side) is with a regular expresion validator control, maybe use something like this for the expression.
^\d+$
if there is an expert on regex, please check if the expression works.Leave a comment:
-
Please If anyone has an idea, I'll realy like to know why this happens....Leave a comment:
-
Got an answer from a friend. The grid mantained the sort expression and sort direction so it resorted the data after the data came from the datasource.
Fixed by resetting the values of sortdirection to the right ones. Like : e.sortdirection = "ASC", or e.sortdirection = "DESC".Leave a comment:
-
Gridview rows inverse order
Hi,
I'm working on a gridview with an object datasource. I send the sort expression and sort order to the selecting method through a parameter. It works fine in the ascending order, but in the descending order, when the grids navigates to the first page and shows the data for that page, the first row is in the last position, the last in the first and so on.
If I navigate away, to another page in the grid, the data is fine, and if... -
Hi, maybe if you could se the code, this is an example:
Code:FileStream fs; string strPath = Server.MapPath("~/pdf/"); string strFileName = "vista_upgrade_flowchart.pdf"; fs = File.Open(strPath + strFileName, FileMode.Open); byte[] bytBytes = new byte[fs.Length]; fs.Read(bytBytes, 0, (int)fs.Length);
Leave a comment:
-
IE& back forward button
Hi,
There is a strange behaviour with ie7 and browsing history. In a page (aspx), the user can download a file. If he navigates back from that page, the page is lost(from browsing history), an sometimes it navigates to another page, the previous, is there is one.
I mean,you were in page 2 an navigate to page 3, download the file and everything and click the back button, you were supposed to be taken to page 2 again, but no, the page... -
Thank you guys, a solution:
I finally found a solution to this. Thanks to
this blog
And thank you guys for your help.Leave a comment:
No activity results to display
Show More
Leave a comment: