Web Forms :: Way To Use CSS To Turn A Regular Div

Mar 12, 2011

I am trying to create a pop-up box that looks like a caption of a cartoon which is basicaly a square or rectangle with rounded corners all except for the bottom left.I don't want to use a graphic if possible, and am trying to use CSS to do it but can't quite get it. can use the border-radius for three of the corners that round off, but the left bottom corner that would be protruding out I can't get.

View 2 Replies


Similar Messages:

Web Forms :: StaticSelectedStyle / Can't Get The Color To Turn Select A Tab

Feb 18, 2011

I have a asp Menu tabs, but I can't seem to get the color to turn when I select a tab

MasterPage:

[Code]....

SKIN:

[Code]....

CSS:

[Code]....

View 1 Replies

Web Forms :: Using Javascript - Turn Off Viewstatemode For One Instance?

Mar 9, 2011

For some reason, I can change the property of a control in javascript, but then when their is a postback, it seems as if the control property ignores how I have set the property in javascript and goes by its last asp viewstate.

View 1 Replies

Web Forms :: Set Focus On Gridview To Turn Off Timer Control

Feb 18, 2011

I have a timer control on my gridview that refreshes it at a 3 minute interval, but when a user is updating the gridview it will mess us the update and then they have to start over again. How can i set some kind of focus event on the gridview to shut off the timer update that refreshes the gridview.

View 2 Replies

Web Forms :: TreeView Expand Area Border - Turn It Off?

Jul 12, 2010

I have a TreeView that has a border around the expand/contract area (where the plus or minus icons live). I'm looking for how to turn it off. I'm guessing that this is begin inherited from some CSS somewhere, but it fails even if I put it inside a border-free div, like this:

[Code]....

I was hoping to find a <ExpandContractAreaStyle> construct, like <NodeStyle>, but I must be missing something.

View 5 Replies

Forms Data Controls :: Run A Command (such As Turn Text Red?

May 7, 2010

I need to run a command (such as turn text red) if todays date is 30 days or more from the date in the gridview. How would I accomplish this? I can't really think of a way as I'm not good coding with dates.

View 8 Replies

Web Forms :: Radio Buttons To Turn On / Off Groups Of Controls?

Dec 28, 2010

I've got 3 groups of controls each of which I want enabled/disabled depending on which radio button the user has clicked.

The code *works*, but daaaaaayuum the postback time from a radiobutton click is long.

I suspect my approach is the noobish way, and that there's a slicker way to achieve this control-groups-enabled effect.

View 7 Replies

Forms Data Controls :: Turn Off Requiredfieldvalidator In A Gridview Control?

May 19, 2010

I have a Gridview and I allow fullscreen editing. I have some RequiredFieldValidators in my Gridview and this works fine. But if the user clicks on a dropdownlist in the Gridview and chooses "Rejected", I want to turn off validation. But I am not sure how to do this. Here is my code in the SelectedIndexChanged event for the ddl:

Protected Sub ddlPOACKCodes_SelectedIndexChanged(ByVal
sender As
Object,
ByVal e
As System.EventArgs)

[Code].....

But I get an error on this line: rfv = gvPODetail.SelectedRow.FindControl("rfv11"). the error is:

Object reference not set to an instance of an object.

View 4 Replies

Security :: How To Turn On And Off Access To Aspx Pages During A Session Using Forms Authentication

Apr 9, 2010

Using VS 2010 RC, VB, and Forms authentication to allow access to the site, depending on the login rights of a user, I want to turn on and off access to certain pages. I can turn on and off buttons to access the pages, but a user can type the page into the url, and it will still go to them.

View 5 Replies

Forms Data Controls :: Turn Null Cells In A Gridview Into Zeros?

Jul 7, 2010

I have a Gridview with some cells in numbers while in some cell they could be null without numbers. I need to modify it such that the numbers in the Gridview are in these formats:-

(a) If it is 12345.333 becomes 12,345

(b) If it is blank, I wish the cells to display 0

This is the code I am using to achieve (a), but when it comes to blank, it returns error (I believe my code below failed to provide blank cases but I dunno how. So what should be the code to do (b) above ?

For i As
Integer = 1
To N
e.Row.Cells(i).Text = String.Format("{0:#,##0}", Convert.ToDouble(e.Row.Cells(i).Text))Next

View 13 Replies

Regular Expression / Input String Is Valid Based On The Given Regular Expression?

Sep 20, 2010

i have to check if an input string is valid based on the given regular expression.. this is the regular expression.

(a(bb+aaa+((ab)*bb+(aba)*aa)(a+b)*) + (b(aa+bbb+((ba)*aa+(bab)*bb)(a+b)*)

+ is an OR

* is a LOOP, it is optional, it may be done as many as a user wants.

i've tried many ways to solve the problem that my professor gave me but my knowledge isn't that enough to solve this problem..

View 3 Replies

Forms Data Controls :: When Updating Gridview When Hide Columns Values Turn To Null?

Mar 5, 2010

I am updating a gridview. Problem is that when I hide certain fields that I do not want the user to update, they lose their values ie. the data is wiped out in the field unless I show them on the grid and make them writeable. Is there a property I need to set for the field to retain the value when the grid is updated or is this in the sql statement?

View 7 Replies

How To Turn A Button Into An Image

May 9, 2010

I'm trying to edit the template of my login control. By default it presents a button, what must I do to make it an image?

<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In"
ValidationGroup="ctl18$Login1" />

View 2 Replies

C# - JQuery Autocomplete Turn Off?

Feb 1, 2011

I have a dropdownlist, filled with countries (from xml file).When you choose a country, you can use the autocomplete for a textbox.This autocomplete has postal codes from the choosen country.Now I want to set the autocomplete off right after the dropdownlist.change eventfor preventing that the autocomplete (filled with postal codes) for 1 country also work for another country. But how do you turn it off?Code:

//when changing country, other postcodes will load
$('[id$=landenDropDown]').change(function () {
//autocompletes removal

[code]...

View 2 Replies

Configuration :: IIS 7.5 Will Not Let Me Turn Off CustomErrors?

Dec 21, 2010

We developed an application in ASP.NET 3.5 on Windows Server 2003. (IIS 6.0)They are trying to deploy it on Windows Server 2008 IIS 7.5.But we are getting the old yellow screen message: Runtime ErrorDescription:

[Code]....

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

[Code]....

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.Details: To enable the details of this specific error message to be viewable on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".We have turned off custom errors everywhere we can find in ASP.Net Error Pages and set it to Detailed Errors at all folder levels for IIS Error Pages.Still the yellow screen with custom errors and no detailed errors.If we switch the application pool to run in 32 bit = true, we get a detailed error. But we don't get very far with that because of Oracle issues and wouldn't really want to force it to run in 32 bit when it should really run in 64 bit anyway.So how do we get detailed messages from IIS while running in 64 bit?

View 5 Replies

C# - Completely Turn Off Cookies?

Mar 4, 2010

need to turn off the cookies in my ASP.net site completely

I'm doing some funky stuff serving images and scripts from a .aspx file, which causes the request to have cookies tagged to it.

So, how do I get rid of these?

I've tried setting the SessionState mode="Off" in the web.config, but that didn't seem to work.

View 1 Replies

How To Turn The Rest Of The Word After The '@' Into A Hyperlink

Feb 24, 2011

I am parsing a tweet and need to search for any words that begin with '@'. I want to turn the rest of the word after the '@' into a hyperlink. I have a partial solution, but my problem is that the link which gets generated includes the '@' in the link text and the hyperlink, but I only want the text after the '@'.

Example:

"Username @SomeName blah blah blah blah"

I want to create the hyperlink text: http://twitter/SomeName

I have the following partial solution:


ASP Code:

body = Regex.Replace(body, "(@[^ ]*[a-zA-Z0-9])", "<a href="http://www.twitter.com/$1" target="_blank">$1</a>");

View 2 Replies

WebMatrix :: How To Turn A Number Like : 16,29384 Into 16,30

Aug 6, 2010

How do I turn a number like : 16,29384 into 16,30 (juste two number after the strike)

View 1 Replies

Is It Possible To Turn Off App_Code Auto-compile

Oct 7, 2010

Working with Visual Studio (I'm using 2008) I have started to notice that when you save a file in the /App_Code folder, the program will hang for a bit before returning control. After a bit of research, I have learned that there's an auto-compile feature at work, which I assume is what is slowing down my system.

So the question is this: Is it possible to turn off the automatic compiling of files in the /App_Code folder? Or, even better, is there a way to reduce the time that it takes, or make it work a little more smoothly in the background?

View 2 Replies

Wait Three Seconds Then Turn To Another Webpage?

Mar 29, 2011

I'm currently using ASP.net. I wonder what would I need to do to let the browser wait for 3 seconds so my users can read the text "Customer Successfully Added" before turning to another page? I have attached my code as follows.

Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click
Dim db As New DatabaseClass
db.addProfile(txtLN.Text, txtFN.Text, txtUsername.Text, txtPassword.Text, txtAddress.Text, txtZip.Text, txtPhone.Text, txtEmail.Text)
lblMessage.Text = "Customer Successfully Added"
End Sub

In addition, I'm not sure how to utilize MSDN. For me, its information overload, I'm wondering how to go about finding the solution on MSDN so i would be able to solve my problems in the future.

View 3 Replies

MVC :: Minimum Steps To Turn A Non Project Into One?

May 24, 2010

Background - I've started with a VS2010 dynamic data project, but now I want to add some other custom pages based on MVC to it. Question - What is the minimum I would need to do to get this non-MVC project to look/act like an MVC project?

View 6 Replies

HttpHandlers / Modules :: How To Turn This Into A Webhandler

Oct 28, 2010

I have heard that a webhandler is more efficient when buffering images in a webpage....I've tried a couple of times but I never seem to get it right This is the codebehind in ViewImg.aspx.csHere's the code:

[Code]....

View 2 Replies

.net - Turn Off Request Validation In IIS Express?

Mar 1, 2011

I have always been able to turn off request validation on IIS and cassini when I need to post HTML from an HTML Editor. Problem is I can't seem to do so on IIS express. Have tried the following:

<%@ Page Language="C#" ValidateRequest="false"
<system.web>
<pages validateRequest="false">

View 1 Replies

MVC :: Turn Off Client-side Validation?

Nov 12, 2010

I have a wizard style MVC 2.0 application, when I move forward I want client side validation to kick in and validate the form, but when I hit the back button I want the data entered by the user posted back to the server so I can save what they have entered, but without any client validation.

View 4 Replies

Turn On Edit Mode For All Rows In GridView?

Mar 11, 2010

VWD 2008 Express. Visual Basic. I have a gridview that displays the grade records of students in a class. I am only able to select one row at a time to edit (using the "Edit" button for that row, followed by "Update" when I am finished. I would like to turn on edit for all rows at the same time or for a group of rows and then have one "Update" button to press when I am done with all editing, much as in a spreadsheet where you are not restricted to a single row before you press "Save."

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved