|
Hi friends
how to add title text in content page?
hot to write tag in content page?
thanks in advance
khan
|
|
|
|
|
>>how to add title text in content page?
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Title is here!" %>
>>how to write tag in content page?
#1. Client-side Script can be written within "Content"
#2. Client-side Script can be registered in Page_PreRender Event.
Hope it would help.
-- modified at 4:36 Thursday 15th February, 2007
<div class="ForumSig">Thanks and Regards,
Michael Sync
Blog: <a href="http://michaelsync.net">http://michaelsync.net</a></div>
|
|
|
|
|
Thank you Michael
plz give me some code to register client side srcipt bcoz i have no idea how to register it.i am first time workin in master page
Thanks again
pathan
|
|
|
|
|
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<script language='javascript'>");
sb.Append("window.open('javascript.htm', 'CustomPopUp',");
sb.Append("'width=200, height=200, menubar=yes, resizable=no');<");
sb.Append("/script>");
Type t = this.GetType();
if (!ClientScript.IsClientScriptBlockRegistered(t, "PopupScript"))
ClientScript.RegisterClientScriptBlock(t,"PopupScript", sb.ToString());
Those articles might be useful for you.
JavaScript with ASP.NET 2.0 Pages - Part 1
Master Pages In ASP.NET 2.0
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
|
|
|
|
|
I am using asp.net together with C#. I would like to include a option in my website to display the bandwith speed at that current moment. How would i do this?
|
|
|
|
|
Plz give m the sample code for this.
BOL
|
|
|
|
|
|
|
Hi friend please can you tell me how to solve this problem.When i try to create new role is appear this exception?
"
Cannot insert the value NULL into column 'RoleId', table 'C:\WEB-PROJECT\02.12.2007\APP_DATA\IVOIRENETPUB.MDF.dbo.aspnet_Roles'; column does not allow nulls. INSERT fails.
"
Even if i use asp.net configuration!!!
Good bye
-- modified at 2:46 Thursday 15th February, 2007
when i want to read something good just seat and type it
|
|
|
|
|
Then.. RoleID might be primary key or identity which is not allowed to add NULL value.
if you wanna add it then you may change your database design.
if I'm in wrong direction then you can show me your current table design.
|
|
|
|
|
hi again
the table is create automaticly by visual studio when you use asp.net configuration that is way i don't change nothing but has you see is appear some exception!Did you have idea how to solve the problem.
GO
/****** Object: Table [dbo].[aspnet_Roles] Script Date: 02/15/2007 21:55:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[aspnet_Roles](
[ApplicationId] [uniqueidentifier] NOT NULL,
[RoleId] [uniqueidentifier] NOT NULL,
[RoleName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LoweredRoleName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
when i want to read something good just seat and type it
|
|
|
|
|
Check it out here.. >> [RoleId] [uniqueidentifier] NOT NULL,
that means this column doesn't accept any NULL value.
Why do you want to add NULL value?
it will work if you don;t add any NULL value to this column..
However, in case you have to add NULL value then... you can remove "NOT NULL" from this statement..
|
|
|
|
|
Thank's i will try it but i am not sure that is correct because if i made change after that is possible other function to don't work.((
when i want to read something good just seat and type it
|
|
|
|
|
It can't be null because is connected with user
when i want to read something good just seat and type it
|
|
|
|
|
>>Thank's i will try it
Your welcome. my friend.
>>but i am not sure that is correct because if i made change after that is possible other function to don't work.((
ya. it might be possible.. I'd suggest you that better if you add a values for that column instead of adding NULL value.
|
|
|
|
|
The problem is that ms create all this table for you automaticly with lot of code and i want to use that code.If i change db after i must change code in all application and believe that is lot of work i think something is not right with my db but what ?Even that thank you for your answare
when i want to read something good just seat and type it
|
|
|
|
|
I need to find the HTML comment using regular expression. I tried this expression (? . but this is not suitable to find multiline comment (that is newline).
Please help anyone to find this HTML comment using regex.
Thanks in Advance.
Regards
R.Arockiapathinathan
|
|
|
|
|
try this:
it will find all HTML comments within the source.
greetings
walter
|
|
|
|
|
Fantastic and million thanks to you.
It works fine.
Regards
R.Arockiapathinathan
|
|
|
|
|
Hi All,
Can anyone tell me how do I create tab control in ASP.NET 2.0.I cant see tab control directly in toolbox.I am using VB as code behind language.
Please help me at the earliest.
Thanks in advance...
|
|
|
|
|
|
Thanks for the reply.
I got this link but I need the text instead of Image and also I cant see the tab control as show in that page.
Finally on click event the text fields changes to another field.I mean when I click any of the field name then it changes.
Please help me...
|
|
|
|
|
|
|
I have a gridview in which in every row i have a button .When i click that
button i want to perform some task.This button is in third column the second column has the name of the file . i want that name of that file which is there in that row. Actually i want to know what is the event and how to capture it .
thanks
|
|
|
|