|
thnx, i did it, but please i need another help, i want to add datagridview and make its data source from xml file, i did up to this thing but i want to add a cloumn which will contain a hyperlinks, how to add hyperlinks on the datagridview on the windows projects
Thanks alot
Hamody
|
|
|
|
|
I've not used that before, can you define the column formats like you do in ASP.NET ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am writing a crystal report webform. I ve droped my reportviewer control on teh form .I also have my .rpt file in the Reports subfolder of my project's root folder. I specify the report source as follows
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim oReport As New ReportDocument
oReport.Load(".\Reports\ProjList.rpt")
oViewer1.ReportSource = oReport
oViewer1.DataBind()
but it gives teh error
The system cannot find the file specified.
I changed the backslash to fron slash,
also i used mappath() function
no head way
any help will be appreciated
t.aransiola
|
|
|
|
|
oReport.Load(server.mappath(".\Reports\ProjList.rpt"))
|
|
|
|
|
hello;
I am using asp.net 2.0
I have problem with using fileupload control
its work fine with textfile and images
but i have tried for example to upload pdf file
but it dose not work
this code
String path = Request.PhysicalApplicationPath;
path += FileUpload1.FileName;
FileUpload1.SaveAs(path);
aj123
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
single minded; short sighted; long gone;
|
|
|
|
|
there is no error I get just empty webpage display
aj123
|
|
|
|
|
Yes, what did you expect? If you don't output anything to the web page, what would be displayed?
---
single minded; short sighted; long gone;
|
|
|
|
|
hi u did not understand me correctly
Iam telling u that when i click the button the new emtpy page display
not the same page of which control located
---------------
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or ...
--------
Thanks
aj123
|
|
|
|
|
Hi using store procedure,i displayed my records in datagrid...,
Now i want to make it user friendly..,
Means in that form i will give radio button,
Which one i select based on the value, my datagrid values want to display...,
Suppose i have 2 radiobuttons...,
One is "employee id" another one "employee name" like...,
If i select employeeid radio button then in that datagrid want to display based on id..,
Otherwise if i select employee name then records want to display ascending order employee names...,
With out server code i want to do this action using javascript...,
Plz anyone tell me how to do that...,
Magi
|
|
|
|
|
I dont know the way of how to make it with javascript but i suggest you to use ajax tech to adjust it more friendly.If you decide to use ajax, you need to use updatepanel to make it whatever you want how to be like friendly or etc.
Regards.
|
|
|
|
|
Hello friends, I reinstall my IIS but after restarting visual studio 2003 I got error such that the you are not using Microsoft .NET framework 1.1 therefore web applicaitions will not execute. Any suggestions for me?
Amit
|
|
|
|
|
.net may not have been registered with IIS. Run aspnet_regiis.exe
only two letters away from being an asset
|
|
|
|
|
hi friend ,
I am uploading file using asp.net file control .how will i check filesize in client side before upload.
pls if u can send me code for it .
It should work on both browser IE & mozilla
pls it is urgent
thanks in advance
|
|
|
|
|
kuwl_mark wrote: pls it is urgent
How unusual...
This[^] was the first hit I got by googling 'javascript file size'.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
but this will not work in mozilla also I have to change your browser settings to run this code
|
|
|
|
|
Yes, exactly.
The thread that Christian linked to gives you the correct answer to your question.
---
single minded; short sighted; long gone;
|
|
|
|
|
I hope it helps : i found something in some search engines and i suggest you to search before open an message to forums because you can find answers more quickly..
check them out : http://www.jguru.com/faq/view.jsp?EID=330134[^]
function getStats(fName){
nullIMG.src = fName;
fullName = fName;
shortName = fullName.match(/[^\/\\]+$/);
splitName = fullName.split(".");
fileType = splitName[1];
fileType = fileType.toLowerCase();
if (fileType == 'gif' || fileType == 'jpg' || fileType == 'jpeg')
{
checkIt = fileSize(fullName);
if (parseInt(checkIt) > 30000){alert('Max File Size is 30Kb');Form1.reset()}
else {
Form1.dispSize.value = checkIt;
Form1.dispName.value = shortName;
Form1.dispW.value = nullIMG.width;
Form1.dispH.value = nullIMG.height;
}
}
else {
alert("You must select an image file!");
Form1.reset();
}
}
divStr = "<Div Style='Position:Absolute;Top:-2000'><IMG Src=Null ID=nullIMG></Div>"
document.write(divStr)
Function fileSize(fileSpec)
Dim isSize
Set fso = CreateObject("Scripting.FileSystemObject")
Set contentFile = fso.GetFile(fileSpec)
isSize = contentFile.Size
fileSize = isSize
Set contentFile = Nothing
Set fso = Nothing
End Function
Choose an image:
File Name:
File Size:
Width:
Height:
|
|
|
|
|
http://www.jguru.com/faq/view.jsp?EID=330134[^]
and check that code mentioned below out
function getStats(fName){
nullIMG.src = fName;
fullName = fName;
shortName = fullName.match(/[^\/\\]+$/);
splitName = fullName.split(".");
fileType = splitName[1];
fileType = fileType.toLowerCase();
if (fileType == 'gif' || fileType == 'jpg' || fileType == 'jpeg')
{
checkIt = fileSize(fullName);
if (parseInt(checkIt) > 30000){alert('Max File Size is 30Kb');Form1.reset()}
else {
Form1.dispSize.value = checkIt;
Form1.dispName.value = shortName;
Form1.dispW.value = nullIMG.width;
Form1.dispH.value = nullIMG.height;
}
}
else {
alert("You must select an image file!");
Form1.reset();
}
}
divStr = "<Div Style='Position:Absolute;Top:-2000'><IMG Src=Null ID=nullIMG></Div>"
document.write(divStr)
Function fileSize(fileSpec)
Dim isSize
Set fso = CreateObject("Scripting.FileSystemObject")
Set contentFile = fso.GetFile(fileSpec)
isSize = contentFile.Size
fileSize = isSize
Set contentFile = Nothing
Set fso = Nothing
End Function
Choose an image:
File Name:
File Size:
Width:
Height:
|
|
|
|
|
Hi All,
I have only the WSDL file given to me.
My requirement is to consume this webservice programmatically through C# code.
Please guide me or show me the relevant link where I can get the knowledge.
Thanks and Regards.
Amarjeet
|
|
|
|
|
Is there any GridView control with DropDownList as its databound/template field?
If possible open source or free control
Thanks,
Ivan.
|
|
|
|
|
No but you can do it easily using nested gridview.for more information just search it as Nested Gridview in codeproject.com's search engine.
Enjoy...
|
|
|
|
|
Hi,
I have a certain peice of code written in master page, and on the click of a button which is on the master page i want to execute that code on the basis of the current page loadad in the contentplaceholder.
Please help me to find out a way by whihc i can determine which page is currently loaded in master-page.
Thanks.
Deepak Surana
|
|
|
|
|
I suspect that you can do this with reflection, or by examining the Id of the parent control. However, an easy way to build this would be to create an enum representing all the different pages, or even just those pages you especially want to recognise, and one value for all you don't. Make the page set this property in it's master page, in the init method. The property itself is a member variable of the master page.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
good morning!!
I'm using Ajax Beta 2.0 version in asp.net 2.0 ,after using UpdatePanel I got System.Request.PageRequestManagerServerException: An unknown error occure while processing the request on the server.Status code returned was 12031.
at the button click event .
why this exception is comming and how to solve this problem please guide.
Thank you
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|