|
Set a breakpoint in that page init method, and see what's going wrong.
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 )
|
|
|
|
|
Exam certificacion question
Ive seen this question in more than one simulator with C,D and also B,D or even just B as answers, what do you think would be the correct one and why?
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Add custom controls that emit XHTML to the Web Form.
B. Add custom controls that emit WML to the Web Form.
C. Add mobile controls to the Web Form.
D. Add Web server controls to the Web Form.
Answer: C, D
Alexei Rodriguez
|
|
|
|
|
I guess "D" is the one. Webserver control knows how to render for different requesting browsers. If you add mobile controls, it won't work with normal browsers AFAIK.
|
|
|
|
|
1-listbox -
2-textbox1-textbox2-textbox3 -
-
3-link-DeleteComponent -
-
4-Link Button AddRange textbox -
--------------------------------------
5-Link Button AddComponent
I have above sinario. One coplete component include 5 parts. complete component is creating dynamically. I put complete component in ascx file. when I add it in the aspx file it is adding correctly. but when I click no.4 addrange the textboxes are creating only in the last component either I click in first component or in last component. Could you please help fix this issue.
|
|
|
|
|
I don;'t quite follow you, but I'm pretty sure we need to see code to tell you what's wrong with 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 )
|
|
|
|
|
Hi All,
Can any one tell how to call dynamically a confirmButtonExtender in codebehind of aspx page.
Thanks in advance
Senthil.S
Senthil.S
Software Engineer
|
|
|
|
|
something like:
this.ConfirmButtonExtender1.TargetProperties.Remove(this.ConfirmButtonExtender1.GetTargetProperties(this.update));
the above code removes the extender
We are not a Code Charity
|
|
|
|
|
I want to start my first web based application using ASP.NET , I never did any WEB development . I am good in C# windows forms application and using VS2005 , also I know little HTML .
where is the best first start ? and other software required ? and can anyone provide me with the basic steps to start this application .
Thanx
|
|
|
|
|
Try downloading the VWD its free:
http://www.microsoft.com/express/vwd/
Then start here:
http://www.asp.net/LEARN/videos/
hope this helps and good luck to ya!
We are not a Code Charity
|
|
|
|
|
Hi
I have a page that brings the all no.of users, visitors, groups, documents in the site from database via webservice. The results from my webservice and database are fast locally and on the remote machine but when I call my webservice from my code its taking more time (I calculated the start and end debugging time with Environment.TickCount;) and it returns the time like 2187 for the first time, 1172 second time call and so on decreases the time. Also it takes time from the javascript call to my page call (means entering my code-behind code, to call the web service), I dont understand whats happening in between that time.
Any Ideas please!!!
|
|
|
|
|
hi all ,
i am getting Exception as"Invalid postback or callback argument.
Event validation is enabled using <pages enableEventValidation="true"/> in configuration or
]]>" while using more than one form tag in a web page. i got soultion by google if i add enableEventValidation="false" application working fine but i am affriding to add it in web.config because how it effect for other controls in my application .please let me know any one knows other soultion for this . or please let me know is it safer way to add this in to web.config.if it causes any problem let me know the problems also if add it in web.confing.
please send the soultion for this maild also:gurukiranmca@gmail.com
Thanks And Regards,
Guru
|
|
|
|
|
Why do you want to add it to the webconfig, why not just the one page where it is needed?
We are not a Code Charity
|
|
|
|
|
i can do it for that web page but i have to do it in master page it is inherted for all pages . so ithink it is better to do it in web.config . because we are using fck editor 3rd party control ..in this contorl we have form button while using this button it is creating problem.please let me know if we hav any other options or let me know what are the problems i can face if i make it enableValidateRequest=false.
|
|
|
|
|
hi
i am working .net 2.0
my os is vestra
i can not get value while using breaking point
please help me
with regards,
bretto
|
|
|
|
|
brettokumar wrote: my os is vestra
do you mean vista?
brettokumar wrote: i can not get value while using breaking point
please explain a bit more
What error are you getting with the code?
We are not a Code Charity
|
|
|
|
|
hi .netman
i am doing a project in .net 2.0 and my os is vistra
sorry my english is too bad. please don't mistake me
in my codebehind file i set "breaking point " in a line.
after i press F11 my project dose not run step by step it is fully debuged.
and i can not get answer while mouseover on the breaking point line in codebehind .
with regards,
bretto
|
|
|
|
|
You can go to the watch tab and type in expressions to see their values when you're at a breakpoint.
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 grid selection index change event...,
when i click a cell value, those values coming to my textbox,
same time grid losing its cursor point...,
it mean if i am showing 50 records in my grid..,
when i select 40th record the value comr yo my textbox and its showing the grid from first data..,
but it have to point in 40th only...,
how to do this?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Can you not use setfocus to set the focus to a specific record in the grid?
We are not a Code Charity
|
|
|
|
|
Hi,
I have a datagrid to which a database table called "employee" need to be binded. there are 9999 records in my table.while i bind the datagrid it takes several minutes for it to load...
is there any other ways to improve its performance so that i can reduce the time of loading the page??
plz reply ASAP...
Thanx in advance,
zari
|
|
|
|
|
Well, one common sense UI decision would be to not have 10,000 records in your grid.
The datagrid is designed for common UI tasks. If you need to load 10,000 records, you need to find a commercial grid that deals with this ( essentially by only loading small subsets of that data at a time )
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 )
|
|
|
|
|
This seems to be a common question in this forum.
Why not cut down the number of records by filtering them, maybe on search criteria by a user.This way not so many are being binded to a datagrid
Other then that follow the advice of CG
We are not a Code Charity
|
|
|
|
|
I'm creating a multilingual website so I'm trying to dynamically include the language related stylesheet. As you might have already expected, I do this in the page head using a link tag. Well, for some reason I'm not aware of, the code below doesn't work (when I move it outside the the page head, it works though!):
<link rel="stylesheet" href="/css/<%= _language.Stylesheet %>" type="text/css" media="screen" />
It gives this output:
<link rel="stylesheet" href="/css/<% _language.Stylesheet %>" type="text/css" media="screen" />
On the other hand this code works perfectly:
<link rel="stylesheet" href=<%= string.Format("\"/css/{0}\"", _language.Stylesheet) %> type="text/css" media="screen" />
This is really weird, can anybody explain what's going on?!!
P.S. This is ASP.NET 2.0
UPDATE
When tried to remove runat="server" from the head tag, it actually worked! The problem is that I set the page title in my code so I have to keep runat="server" in the head tag, it seems like a bug to me, what do you think?
modified on Thursday, June 26, 2008 6:36 AM
|
|
|
|
|
The problem is one is <% and the other is <%=
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 )
|
|
|
|
|
Thanks for noticing this (I modified the post after reading your post), but actually this is not the problem, it still give the same output!
|
|
|
|