|
First decide what you wanna do...
|
|
|
|
|
|
Do not repost the question in every forum
|
|
|
|
|
Well, thats strange...
I got score 1 for asking not to repost ...
modified on Wednesday, August 13, 2008 11:24 AM
|
|
|
|
|
It's a brave new world around here. You get 1 votes whenever you fail to post a complete working solution that can be mindlessly copied and pasted.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Well, I suppose he did not like me to comment on his repost
but I was really surprised to see his impatience. There was not even a difference of two messages between his last post.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Sorry but dint quite get what want 2 do.
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
Sir what code u gave , this code only help you in adding one row but when u want to add more row how to deal with
I mean
i added a row in which text box was there thrugh u can enter data but after filling it i want to add more rows to it
but i m not able to do it so can you guide me how to add more rows to grid
as
code is
Protected Sub GridView1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.PreRender
'Dim GV As GridView = CType(sender, GridView)
'Dim Tbl As Table = CType(GV.Controls(0), Table)
'Tbl.Controls.AddAt(0, AddEmptyRow)
Dim GV As GridView = CType(sender, GridView)
Dim int As Integer = GV.Controls.Count
Dim Tbl As Table = CType(GV.Controls(1), Table)
Tbl.Controls.AddAt(1, AddEmptyRow)
End Sub
Function AddEmptyRow() As GridViewRow
Dim GVR As GridViewRow = New GridViewRow(0, 0, DataControlRowType.EmptyDataRow, DataControlRowState.Normal)
Dim myTableCell As TableCell = New TableCell
For i As Integer = 1 To 3
Dim myHyperLink As TextBox
myHyperLink = New TextBox()
myHyperLink.Width = New Unit(225)
myTableCell.BorderStyle = BorderStyle.Solid
myTableCell.BorderWidth = New Unit(1)
myTableCell.Width = New Unit(700)
myTableCell.BorderColor = Drawing.Color.Black
myTableCell.BackColor = Drawing.Color.MistyRose
myTableCell.Style.Add("text-align", "center")
myTableCell.Controls.Add(myHyperLink)
GVR.Cells.Add(myTableCell)
Next
Return GVR
End Function
Raghvendra
|
|
|
|
|
CS1012: Too many characters in character literal
OnClick="javascript:window.open('catagory1.aspx')"
while i use onClintClick its work properly.
i want to open a new window and close previous window and onclint problem is that firstly open a page when i click next time on page than its show last time record beacause session value is comes from server onclick.
how can i solve this problem
please help
thanks
I will do my best?
|
|
|
|
|
One way people can tell a job was outsourced to india is the spelling errors. Like catagory.
OnClientClick is obviously what you want here, OnClick means you want to call a server side method. So, why are you trying to use it ? Why are you using a server control at all, if it just calls some javascript ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: One way people can tell a job was outsourced to india is the spelling errors. Like catagory
This comment is totally unnecessary.
|
|
|
|
|
Christian Graus wrote: One way people can tell a job was outsourced to india is the spelling errors
Christian,
I am an Indian and I was told in my primary school that the first letter of a proper noun should be capitalised. For your information, India is a proper noun.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
modified on Wednesday, August 13, 2008 6:01 PM
|
|
|
|
|
tell me a good javascript ebook on net
saurabh bhardwaj
|
|
|
|
|
I am not sure if they do have PDF version too, but this is one of the best organized JavaScript tutorial.
|
|
|
|
|
What book did you recommend?
|
|
|
|
|
I want to display on my intranet web page the username of the person that is logged onto the computer. I tried System.Environment.userName but it sometimes gives me "ASPNET”. Can someone please help me?
|
|
|
|
|
What kind of Authentication are you using?
|
|
|
|
|
|
try this:
string LstrUserName = HttpContext.Current.User.Identity.Name.ToString();
|
|
|
|
|
It says HttpContext is not declared
|
|
|
|
|
Hi , i m working in asp.net2.0 . In menu item click i want to open a popup window . can any one help me out , m new in asp.net
saurabh bhardwaj
|
|
|
|
|
Which part are you stuck on ? Do you know any html ? Do you know any javascript ? What menu are you using ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hi , thanx 4 reply , in asp.net i m using menu . but there is no onclick evevt so that i run a javascript fuction on that . . i dnt how to open a popup window when i click on menuitem .
saurabh bhardwaj
|
|
|
|
|
window.open is how you open a window in javascript.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi , i m using this code but nothing happend .
script language=javascript>
function openPopup("Forms/frmAssignLeave.aspx?name=" + name)
{
window.open("Forms/frmAssignLeave.aspx?name=" + name,"title", "Height=300px, Width=300px");
}
/script>
asp:MenuItem Text="Assign Leave" Value="Assign Leave" NavigateUrl='javascript:openPopup("Forms/frmAssignLeave.aspx");' ></asp:MenuItem>
saurabh bhardwaj
|
|
|
|