|
If code you mean C# or VB.NET, then yuo need to make an AJAX call to run that code in the first place. Of course, you're already using an AJAX lbirary, so....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
HI
Thanx for your reply. Yes I am using C# code and as I am a beginner can u please give me the code to do so...
|
|
|
|
|
There's a ton of code involved, and really, it would make more sense for you to buy a book and work through it. You're trying to understand some complex things for a beginner. No point in you using code you haven't learned properly.
You need to make an AJAX call to run C# code and get back a result telling you if your main code should run. I think that's a little messy.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
HI,
Thanx for your advice.I will Buy a book and start studying..
|
|
|
|
|
I have some grip on ASP.NET, now i want to learn AJAX
(I am a Beginner) Kindly give Some Steps to follow and also some sites
|
|
|
|
|
AJAX in Action if you really want to learn AJAX. ASP.NET AJAX in Action if you want a Microsoft library to let you do AJAX without knowing what it means or does.
Two good books, both worth having.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
http://www.asp.net/ajax/
You will know everything about ASP.Net Ajax.
|
|
|
|
|
|
Hi All,
I m making my first asp.net webstie. i maded a menu bar with photoshop. My question is, how can i use that menu in visual studio?
Thanx.
|
|
|
|
|
IT's just a bitmap, so use it to skin some components on your site.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
This is Arun.
I am using Telerik Reporting in my project . have written a fuction as
public void Fill_Fun(string par1,string par2)
{
//Here Logic takes
this.txtName.value = strUserName; here the txtName is a Telerik Report TextBox .
}
when i debug the TextBox assignd with the value but not show in the aspx page at runtime
ArunVijay
|
|
|
|
|
Never used Telerik Reporting
Check if you are giving any Default values in aspx ?
Check if txtName is having different property to show text like
TextBoxId.Text ?
Where are you calling this function Fill_Fun ?
Check the Source of your html is Telerik Reporting is Rendered or not
i think one of these may have your solution
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
OK, so I have a dll, which is my data layer and it has a connection string property in a .settings file. In my web.config, I see this:
<applicationSettings>
<DataLayer.Properties.Settings>
<setting name="ConnectionString" serializeAs="String">
<value>
Data Source=xxxx;Initial Catalog=xxx;User ID=xxx;Password=xxx
</value>
</setting>
</DataLayer.Properties.Settings>
</applicationSettings>
Now here's the rub. If I change the setting in my web.config file, the code doesn't use that value, it uses the value inside the dll. How, from my dll, do I gain access to the value that's in the web.config ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I had to add the values in the appconfig section and read from there, it seems that ASP.NET copies the values out of the dlls into the web.config, but the dll doesn't look back there to update the values.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I recieve this error :
Cannot use a leading .. to exit above the top directory
it works in local with no error but when I upload , I see this error
|
|
|
|
|
mohandesmehran wrote: Cannot use a leading .. to exit above the top directory
Atleast post the scenario and complete error message
|
|
|
|
|
I want to provide a feature that allows the user to dynamically change a theme using ajax, similar to what's going on at MyYahoo.com (Go to myyahoo.com, click "Change Apperance" in the middle of the page, then choose a different color from the menu. You'll notice the background changes without a refresh.).
I know how to change themes WITH a page refresh, however I don't know how to do it without one using ajax. How could I do this?
Thanks.
-Goalie35
|
|
|
|
|
I an geetting following error while i have beedn designing asp web sire with ajz tool kit.
The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' or from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll'. Please specify the assembly explicitly in the type name.
I have installed ajaxtoolkit from internet.
I have also tried following steps to handle this error
1.Delete all the bin file from project.
2.rebuild the website(here i got the error that ajaz tool tag are not identified so i again add dll for ajaz toolkit)
In my system i have three system.web.extension file
1.System.Web.Extensions 1.0.61231.0
2.System.Web.Extensions 3.6.0.0
3. System.Web.Extensions 3.5.0.0
Plz help me to resolve this problem as soon as possible:
Samrah Rahman;
NED university;
Karachi.
|
|
|
|
|
Remove the earlier versions from GAC (Windows/Assembly Folder)
|
|
|
|
|
|
I have a problem deploying a web part to a production server that does not manifest itself on my test server.
The web part in question uses Microsoft Office Interop to perform routine procedures on Word documents like calculating table of contents, imposing project standard templates, etc.
When I execute this web part on my test server it does the desired operations to the selected document(s). When I deployed the web part to a production server the initial selection controls come up and I am able to navigate to any repository or subfolder on the server. When I select document(s) for processing and click on a process button I get a 403 browser error.
HTTP Error 403 - Forbidden
Internet Explorer
When I look in the SharePoint server log I see the following error.
08/11/2008 11:50:14.88 mssdmn.exe (0x14E8) 0x1560 359 0 Monitorable CHttpAccessorHelper::InitRequestInternal - unexpected status (401) on request for 'http://server_name/project/test_document.doc'. - File :\office\source\search\search\gather\protocols\http\httpacchelper.cxx Line:467
The D drive (smiley face in the above error message) is a DVD drive on the server but the log entry seems to indicate that an office program is executing there.
If anyone is familiar with this type of behavior could you please tell me how to resolve this problem?
|
|
|
|
|
Hi,
I'm new to asp.net and have a question regarding the viewstate:
I have an editable datagrid with dropdown list on several columns.
My co-worker warns me to be careful about the size of the viewstate, which is a good advice. However, I'm not quite convinced by the way he did the match.
Assume that there are 5 coumns in the datagrid and each column is edited with a dropdown list, and assume there are 100 rows
5 dropdowns
10 items in each dropdown
30 chars for each dropdown item
100 rows in the grid
Also assume that all controls are ViewState enabled.
My co-worker said that the ViewState will include everyhing in the regular Grid, plus
5 x 10 x 30 x 100 (i.e., the dropdown's view state is repeated for every row, that's the same as 100 dropdowns in each column). Obviously, the ViewState will grow dramatically it that's the case.
But my initial thought was, if only one row is ediable at a time, the postback should inlcude only 5x10x30, puls the regular grid data.
Can anyone clarify this?
Thanks in advance.
|
|
|
|
|
Yes ViewState is going to increase in the Page
Andyz50 wrote: 5 x 10 x 30 x 100
Is some what confusing don't know exact algorith to have viewState
I think it will create optimized one.But not sure
Andyz50 wrote: But my initial thought was, if only one row is ediable at a time, the postback should inlcude only 5x10x30, puls the regular grid data
Ya this can be one is one of the solutions
other solution can be instead of showing 100 rows at a time,use Paging and show 10 to 15 or similar on each page.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi All,
I need to write a module to log all queries ran on a page. Once the page is loaded, limited users can pull this information with a click on client side to see.
- This log should not be stored anywhere but in memory, which means the scope of this information is only the native page.
Does anybody have any idea how this can be achieved?
Any idea will be appreciated.
|
|
|
|