|
You can put the grid inside a scrollable div, then put the header above it. The datagrid won't do this, you may need to use a repeater.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
in c++ , i could declare the header files in a seprate file , and thus the same file can be declared on the top , instead of declaring again and again all the header files every where.
Like wise , can i do the same in the c# , regarding the framework base classes.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
This is a C# question. C# does not need header files to be included. If you mean using statements, the answer is no.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi there,
I've created a webpage which contains Imagebutton. This image path will be changable, so i want to put in web.Config file.
Now how can i assign imageurl?
Am using the code as:
ImageUrl='<%= ConfigurationManager.AppSettings["ImagePath"]%>navigation_02.jpg'
But image is not displaying and i got source code generated for this aspx page is:
<input type="image" name="ctl00$ImgBtnAppt" id="ctl00_ImgBtnAppt" src="<%=%20ConfigurationManager.AppSettings["ImagePath"]%>navigation_02.jpg" style="border-width:0px;" />
Please help..!! How could i asign?
Regards n Thks
Sam.M
|
|
|
|
|
you could try an img tag, or set the value in your code behind.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I dont want to assign this in code behind. I want only in aspx page. Is there any other way to set the imageurl?
Regards n Thks
Sam.M
|
|
|
|
|
Not really, do you need to use the asp control and not the img tag ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sorry, I want only image button. Bcoz i'm using around 50 pages. I can't change all now..!! Any other solution is there?
Please help..!!
Regards n Thks
Sam.M
|
|
|
|
|
Do you mean you want the same image to be applied to the image button throughout your project?
If so just use a common_methods class and declare it in there
|
|
|
|
|
The problem is that the Image tag does not run the inline code tags.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Same image path but different image name.
how to get that value from common_methods?
Also i don't want to use codebehind..!!
Regards n Thks
Sam.M
|
|
|
|
|
Quite plainly, if <%= is not parsed in the image tag, then I don't see what other solution you could possibly hope for, in the ASPX.
I spent some time testing, and sure enough, for an Image server control, the values need to be set in the code behind, for an img tag, the inline method works fine.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi ,
I'm developping a web application with asp.net, to display any form I need to load an xml file that define this form from the database.
my question is : can I load all the xml file via a web service, or it the web methode can manipulate the xml file and return only information needed.
if I can , please tell me how.
thanks.
|
|
|
|
|
you can consume a web service in your server side code if you want to.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am using classic Asp and I want to design a dynamic related football website with MSSQL.
I would like to design my CMS (Content Management System) in such a way, that an administrator user can update the content of a variable row/column data table in a very convenience way.
As an idea, I thought to export an XML file from the Excel and then to import it in my CMS. Alternatively, what do you suggest?
Regards,
sdancer75
|
|
|
|
|
I can't imagine why anyone would use 'classic' ASP, it's kind of a disaster.
This forum is for ASP.NET, try the web development forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
can you please provide c# code to disable previous dates on ajax calendar extender.
thanks a lot.
Murali
|
|
|
|
|
What do you mean by previous dates ? Dates before today ? Dates previously selected ?
Obvioulsy, no C# code can help you here, it's a client side control, which means it's javascript. You'd need to hack the control to get it to do something that's not supported by the properties it exposes, or just not use it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello everyone.
I have a reporting application, in which you can choose some different kinds of report through a simple ASP.NET menu webcontrol, fed by the regular web.sitemap file.
Each report page has several pages of detail, which you access by clicking on one item of those listed in the page. Some of the detail pages are shared between two or more report pages, and the parameters are passed through querystring. Nothing new or weird so far.
The big problem started when we were asked to provide a "back" button for each page.
This button is based on browser history and should get you back to previous page no matter where you are.
Our big issue is that sometimes, accessing a report from the menu seems to clear the browser's history, thus rendering our smart "back" button useless.
Is there some undocumented bug in the ASP.NET menu control, which may cause this issue?
Any help would be much appreciated.
Thanks in advance,
Rey9999
UPDATE: the application runs fine in IIS 5.1, the issue seems to be in IIS 6. Also, not only navigating through the menus, but also filtering the report data sometimes clears the history.
Any ideas? what is changed between iis 5 and 6 about how history's managed?
FURTHER UPDATE: My fault; it is not the web server, but the database which causes the issue.
When i use a small test database, everything works. When i use a large production database, the problem shows up. It's almost like the browser "resets" itself when the page takes too long to fetch the data from the DB. BTW, I'm using SQLExpress 2005.
Can anybody help? This time I'm really stuck and even googling can't help me. Please give me an hand.
YET ANOTHER UPDATE: It seems to happen with IE (6 & 7) only. Gecko-based browsers run just fine. Really, can't get head nor tail out of this.
Rey9999
~~~ From Milano to The Hague, easy as it goes ~~~
|
|
|
|
|
The screens do not display properly on safari/Firefox browsers. Make it look like IE. On those browsers – not editable fields are not showing up on screen, very hard to see. And also product demo is not showing different screens (not rotating)
|
|
|
|
|
You have posed your question in a somewhat rambling manner making it difficult to know what the real problem is.
However, if it's a layout issue this may be due to styles applied to your markup. Try disabling styles and see if it is still not displaying as you expected. There are some differences in how the various browsers display content, hence the phrase 'cross-browser compatability'. There are numerous sites devoted to styles (CSS) that offer clear advice on layout and styling and how to ensure that your layout looks the same or similar in most of the popular broswers.
|
|
|
|
|
You need to follow W3C standards when designing. This helps to keep the design uniform for all browsers. Use W3Cs markup validation service and correct the errors.
|
|
|
|
|
Whilst developing a website test it in both browsers DURING development NOT after.
|
|
|
|
|
Hi,
I recently moved to Windows Vista, but when I create new web project and press F5 to start debugging a website is not displayed and I get message Application Internet Explorer can't display requested website. I'm not sure what to do. I run Visual Studio 2008 under administrator account.
I also tried to add my http://localhost into trusted servers list and it didn't help either.
Thank you
|
|
|
|
|
I think this post is better on the following website:
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=26&SiteID=1
sorry cant help
|
|
|
|