Search:
Type: Posts; User: kayos
Search:
Search took 0.15 seconds.
-
if you're looking for a good RTE, i've always liked using this one:
http://www.fckeditor.net/
-
what i like to do is wrap my gridview in a div tag and then use the css selectors to get to the table elements.
<style type="text/css">
.gvclass table th {text-align:left;}
</style>
<div...
-
When you publish an ASP.NET 2.0 app, you put all of your *.aspx and code files into the web directory on the FTP server. ASP.NET 2.0 on the webserver will compile your project using the Just In Time...
-
try nesting the selector th with the table tag and see what happens, like so:
table th {/*my style code*/}
-
http://www.tipstricks.org/
-
Also, a Literal is rendered AS IS. For instance if you put your text into a Label control, then when it is rendered to the browser it is in a <span> tag. All the other controls also have accompanying...
-
hmmm... i've never tried anything like this, but i do have a suggestion.
instead of:
GridView1.DataSource = AccessDataSourceFDES1
GridView1.DataBind()
try this:
GridView1.DataSourceID =...
-
try using the other slashes and start with a root "/" like so:
<!-- #include virtual="/includes/top.shtml" -->
-
try this article:
http://aspnet.4guysfromrolla.com/articles/120606-1.aspx
-
'get todays date
Dim todaysDate As Date() = Date.Today
'get yesterdays date
Dim yesterdaysDate As Date() = Date.Today.AddDays(-1)
-
put this beneath your <%@Page%> directive:
<%@ Import Namespace="System.Data.SqlClient" %>
that is how you do imports on aspx files w/ no codebehind
-
you dont have to use javascript at all... just use the attribute in the textbox like so:
<textbox name="myTextbox" id="myTextbox" maxlength="50" />
-
1/ TableAdapter.Update return when it s successful
Like the above post says it returns the # of rows affected. In my BLL I usually use an int to hold my rows affected and set it equal to the update...
-
you should check this blog entry out:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
-
also, if you put a <asp:ValidationSummary> on the page then it should also be able to stop it with Javascript on the client side... but good practice is to also do what timeshifter has pointed out...
-
it may just be me, but the data layer function "checkamount" doesn't have a "Return" statement in it anywhere... so it is a function that will always get "Nothing" back. the first step would be to...
-
well one thing i can see immediately is the sub GetCallbackResult isn't returning anything in your code, and retrunStr should be a private variable modified by RaiseCallbackEvent:
Imports...
-
have you tried:
If Day(Date()) > 24 Then
'Do something here
End If
-
i would go with the repeater as well.
-
If you are doing VB then you could also try using the "My" namespace like so:
My.Computer.FileSystem.DeleteFile()
-
http://connectionstrings.com/?carrier=sqlserver
-
how did you resolve this? i'd like to know...
thanks
-
try this link:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
-
http://www.asp.net/
click on the "learn" tab
-
if you are using 2005 it will be like this:
"Select whatever from Wherever where w_id=@w_id"
Then supply the values to your command.
cmd.Parameters.AddWithValue("@w_id","aldsfkjlsfj");
-
i figured it was worth pointing out since i've seen some people posting about problems w/ the controls in it! :)
-
For those who use the AjaxControlToolkit, an updated version has been released. You can find more about it in this blog post, including links:
...
-
if you are using 2005 you can also set it right in your form tag like so:
<form id="form1" runat="server" DefaultButton="SearchButton">
-
you should keep in mind the scope of the variables you are killing.
the Application_OnEnd event only runs when the web is shut down for whatever reason.
the Session_OnEnd however, runs each...
-
check out this article:
http://joeon.net/archive/2007/05/25/Getting-ReorderList-Item-Values.aspx
-
doesn't it have some sort of "PostBackOnReorder" property you could set to capture it?
-
try doing some reading here:
http://asp.net/learn/dataaccess/default.aspx?tabid=63
in the "Introduction" section he starts getting into his DAL and BLL of the 3-tier architecture.
-
look into CSS -> http://www.w3schools.com/css/
pasting the code below into your head tag will do it for now:
<style>
a:link{text-decoration:none}
a:visited{text-decoration:none}...
-
-
try here, it is where I did most of my learning of it:
http://www.asp.net/learn/default.aspx?tabid=63
-
i usually do something like this:
'For VB
Try
'some code that could error
Catch (ex As Exception)
'This is where ex would be your exception, you can get
'the error message...
-
really, it is all a matter of personal preference. i keep my code separate because i think it is cleaner.
-
try pulling the tilde out (~)
-
no, unfortunately this is a single field solution.
if you want multifield then you will have to use something like what mendhak was talking about.
-
That would be a good idea..
Here is an example of a work around I had to use for the Toolkit:
I wanted that calendar, but without a textbox to enter the date into (just have the calendar pop...
|
Click Here to Expand Forum to Full Width
|