|
You could either create a user control (ascx file) or a custom control depending on your need. Plenty of links for both of these things on google...
|
|
|
|
|
User Control, the normal way to do things! however this is not the requirement, a datagrid should be there with all features like paging, sorting, etc etc. Now whenever required i should use this grid and could change props if wanted!! The remaining fetaures like adding template colmn, etc, etc.. should work too.
Tried google but that mission failed!!!
Gautham
|
|
|
|
|
i think either u r tryiing to re-inventing the wheel.
or not using the gridview properties properly...
ok do one thing pendown every thing, and start from first..
actually it is just like a small project...
Ravi Kant Srivastava
(System Analyst)
HandsOn Technology & Engineering
Gurgaon
(India)
e-mail:ravikant@hte.co.in
|
|
|
|
|
ravi,
let me make it simple firstly.
Whenevevr we use a datagrid we would get asp:datagrid1.....
here in this case it would be cc1:datagrid1.....
so, its a custom control, now when such control is used how about accessing properties etc etc
The custome control is re-usable but at the same time should be modifiable!!
did it help!!!
Gautham
|
|
|
|
|
Hello Everyone,
How can I develop a simple online radio using asp.net? Actually I'm looking for some cool tutorials. Please help me providing tutorials.
Mehedi Hasan
|
|
|
|
|
What is Orchestration in Biztalk server. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Another one for the Mikersoft marketing bods?
|
|
|
|
|
Considering your various queries just curious to know what sort of application you are dealing currently. I guess its a very complex one!!!
Or is it just your exploration skills that you want to know all this stuff??
Just curious you know!!
Gautham
|
|
|
|
|
hi
i have a problem with the webserver. i am using visual studio 2005. i have created a web site, but when i tried to run that i got an error like this ...
"Unable to start debugging on the webserver.The server committed a protocol violation. Section=ResponseStatusLine."
The webserver is also not working. when i tried to start webserver
manually, i got an error "Unspecified Error 0x8ffe2740 occurred"
if anybody knows how to fix this , please let me know...
thanks in advance
-- modified at 5:14 Wednesday 7th February, 2007
|
|
|
|
|
Have you tried reregistring ASP.NET on IIS?
|
|
|
|
|
thanks for your reply
the application was working on this machine earlier. i don't know then what happened . The webserver is also not working. when i tried to start webserver
manually, i got an error Unspecified Error 0x8ffe2740 occurred""
then what to do
thanks and regards
seebastian
|
|
|
|
|
What is meant by effective life cycle maintenance. And how could the Biz-talk server achieve this. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: What is meant by effective life cycle maintenance. And how could the Biz-talk server achieve this.
This question should probably be aimed at Microsoft's Marketing department.
|
|
|
|
|
Why? I didnt understand you, please tell me.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Why? I didnt understand you, please tell me.
Because it is a very vague fuzzy question that marketing departments are good at answering.
|
|
|
|
|
Colin Angus Mackay wrote: This question should probably be aimed at Microsoft's Marketing department.
very true
|
|
|
|
|
if client side page is moved.. tree node also have to move
hema
|
|
|
|
|
were you asking a question or giving a tip to everyone?
Gautham
|
|
|
|
|
a user have logged into a website having video files. He when clicks the download button a dialog box should open asking where the video file should be saved.when he gives a path
it should start downloading...hw to code it in c# .i am using asp.net 2.0..
|
|
|
|
|
Try this but sorry its in VB:
Dim strFolderPath As String = AppDomain.CurrentDomain.BaseDirectory() & "02\TMCoverageArea\"
Dim strFilePath As String
strFilePath = strFolderPath & hlkCoverageArea.Text
DownloadFile(strFilePath, True)
Private Sub DownloadFile(ByVal FilePath As String, ByVal ForceToDownload As Boolean)
'Dim path As Path
Dim strFullFilePath = IO.Path.GetFullPath(FilePath)
Dim strFileName = IO.Path.GetFileName(strFullFilePath)
Dim strExtension = IO.Path.GetExtension(strFullFilePath)
Dim strFileType As String = ""
If Not IsDBNull(strExtension) Then
strExtension = LCase(strExtension)
End If
strFileType = GetFileTypeFromExtension(strExtension)
If (ForceToDownload) Then
Response.AppendHeader("content-disposition", _
"attachment; filename=" + strFileName)
End If
If strFileType <> "" Then
Response.ContentType = strFileType
End If
Response.WriteFile(strFullFilePath)
Response.End()
End Sub
Public Function GetFileTypeFromExtension(ByVal FileExtension As String) As String
Try
Dim strFileType As String = ""
Select Case FileExtension
Case ".htm", ".html"
strFileType = "text/HTML"
Case ".txt"
strFileType = "text/plain"
Case ".doc", ".rtf"
strFileType = "Application/msword"
Case ".csv", ".xls"
strFileType = "Application/x-msexcel"
Case Else
strFileType = "text/plain"
End Select
Return strFileType
Catch ex As Exception
End Try
End Function
|
|
|
|
|
hi vsree,
the actual code where iam getting the exception is at try catch block for response.redirect statement
the code is
Response.Redirect("somepage.aspx");
plz help me
regards
chaitu
chaitanya
|
|
|
|
|
Why you have placed this query 8 times???
|
|
|
|
|
chaitanya
Can you give the coding of what you are doing in that popup?
Because with Response.Redirect("..");, we cant find anything...
Also avoid posting multiple threads
|
|
|
|
|
hi vsree,
the actual code where iam getting the exception is at try catch block for response.redirect statement
the code is
Response.Redirect("somepage.aspx");
plz help me
regards
chaitu
|
|
|
|
|
hi vsree,
the actual code where iam getting the exception is at try catch block for response.redirect statement
the code is
Response.Redirect("somepage.aspx");
plz help me
regards
chaitu
|
|
|
|