all groups > asp.net > march 2008 > threads for saturday march 1
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
number of rows in a gridview with pagesize?
Posted by Vincent at 3/1/2008 10:27:58 PM
Hi,
i want to know the number of rows in a gridview bound to a sqldatasource.
I tried this:
Protected Sub grv_DataBound(ByVal sender As Object, ByVal e As
System.EventArgs) Handles grv.DataBound
Label1.Text = gridview1.Rows.Count
End Sub
and this:
Protected Sub grv_RowData... more >>
How does asp.net know whether it is a postback or not??
Posted by lander at 3/1/2008 8:53:39 PM
How does asp.net know to set the Page.IsPostBack property exactly???
Would somebody detail this, thanks very much...... more >>
What does "Page Load" and "Page Unload", "Page Life Cycle" exactly mean????
Posted by lander at 3/1/2008 8:50:26 PM
I've read the page life cycle thing in msdn, still, i'm getting a bit
confused of thinking how all the things are going under the hood...
I know that when page loading, that the controls' properties is
populated and when page unloading, the resources are cleared.
What I want to know is what'... more >>
How to add event to Web Form from the vs.net designer
Posted by James at 3/1/2008 8:48:54 PM
Hi there,
I know that when i double click a web form I'm taking to the page_load
event. However, I want to create an unload event by I don't know how to
create it from the vs.net designer. Does anybody know how to create a page
unload event from the vs.net designer?
Many thanks
... more >>
rewriting url's in .NET 3.5
Posted by Smokey Grindel at 3/1/2008 8:09:20 PM
In ASP.NET 2.0 there was a wierd bug with rewriting url's where they whould
not be indexed by google and sometimes caused problems... has this been
fixed in ASP.NET 2.0 SP1 / .NET 3.5? Anyone have any ideas? thanks!
... more >>
How do I show the selected node in the TreeView?
Posted by Flyguy at 3/1/2008 7:46:01 PM
I have a TreeView with so many nodes that it requires scroll bars. When the
user selects a node the screen is refreshed and the selected node is no
longer visible. The TreeView is opened to the selected node but the screen
is not scrolled to it. How can I get the TreeView to show the select... more >>
RememberMeSet no effect at some computers
Posted by ad at 3/1/2008 6:34:41 PM
I am using login control in my web application.
I have set the RememberMeSet to True, but after the web application
installed in server,
the RememberMeSet have no effect in some computer.
When the user close the browse, he must login again the next time he open
the browse.
How can I do?
... more >>
new ImageButton - no click event called
Posted by mihai at 3/1/2008 3:36:52 PM
Hi,
I am trying to create a list of record every with an ImageButton
attached.
The code is like this:
ImageButton img = new ImageButton();
img.ImageUrl = "imgs/ok.bmp";
img.Visible = true;
img.ID = r_id.ToString();
img.Click += new
System.Web.UI.ImageClickEventHandler(this.select_Clic... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
find similar content
Posted by Tem at 3/1/2008 3:29:06 PM
Im writing a forum app. I would like to know
what are some ways to find posts with similar content to a selected post.
(match certain important keywords, but not all words)
what is the easiest way to do this? and
what is the most accurate way to do this?
can someone point me to the right d... more >>
Stop postback/refresh using a button...
Posted by Matthew Wells at 3/1/2008 1:49:50 PM
Hello.
I'm trying to use an asp - not html - button without having a postback or a
screen refresh. I've tried turning off "CausesValidation" and
"UseSubmitBehavior" and I still get a screen refresh - which makes me think
I'm doing a postback. I've also tried "return false" in both the onc... more >>
Can't get javascript file to work...
Posted by Matthew Wells at 3/1/2008 1:45:03 PM
Hello.
I thought this was supposed to be simple. I'm trying to use a .js file for
my javascript functions. I'm testing by only using one function The
function works when it's at the top of my aspx file.
The file is called "MyFunctions.js" which was imported on the page load
event of ... more >>
Get the request for remote computer?
Posted by Husam at 3/1/2008 11:57:00 AM
Hi EveryBody:
How can I get the request for remote computer, I s there any way to do so?
for example can I get if the remote computer request for www.yahoo.com or any
web site?
Any help or redirection will be completlly appreciated ?
regard's
Husam ... more >>
Check if ImageURL (which is an internet url) exists?
Posted by Mike at 3/1/2008 11:28:01 AM
Hi. Is there a way programmatically to check if an image control's ImageURL
property (which is an image on the internet) actually exists? I have a 3rd
party company that hosts all the images displayed on my site, and I want to
display a default image if the ImageURL for a specific image doesn... more >>
CSS and Asp.net 3.5
Posted by shapper at 3/1/2008 9:25:18 AM
Hello,
I would like to use something as follows in my web site:
Master.css
@import url("reset.css");
@import url("global.css");
@import url("flash.css");
@import url("structure.css");
MyPage.Aspx
<style type="text/css" media="Screen">
/*\*/@import url("master.css");/**/
</sty... more >>
Configuring Linux as a Firewall
Posted by rada.lambretha@gmail.com at 3/1/2008 7:35:21 AM
Configuring Linux as a Firewall
* Making installation choices
* Introducing iptables
* Using iptables commands
* Simplifying things with firewall GUIs
* Adding proxy functionality
As Linux gains increasing acceptance in corporate datacenters and
other places, more an... more >>
Repeater OnItemCommand
Posted by RN1 at 3/1/2008 6:20:06 AM
I have a Repeater control with 2 columns - the data under the 1st
column are links whereas those in the 2nd column are just text.
<script runat="server">
Sub Page_Load(.......)
'populating the Repeater & binding the data to it
End Sub
Sub Item_Command(ByVal obj As Objec... more >>
|