|
do you want to move the columns in the same grid or in another grid? Cheers!!
Brij
|
|
|
|
|
|
Suppose I have a server control which executes some javascript function on every page postback. For the sake of simplicity, let's say it renders like this:
My control
<script type="text/javascript">window.alert('My control is in the page');</script>
This, of course, works, a popup window is displayed on every postback. Now imagine that the control is nested in an UpdatePanel control. Then the popup is displayed on full page postbacks, but not on partial postbacks where only the UpdatePanel is refreshed (although the javascript is still rendered to the page, it is not executed).
My question is: How do I execute some javascript function on truly every postback, partial or full? It is obvious that "standard" methods for such scenario, like RegisterClientStartupScript, are out of the question.
(As an example, if I want to write my own Timer server control, I need the execute some javascript which after some time interval causes postback. This is easy with full page postbacks, when this javascript is normally executed, but when the Timer is in UpdatePanel (and enabled during partial postback), I need to run the javascript after the partial postback, which I cannot see how.)modified on Tuesday, February 16, 2010 3:30 PM
|
|
|
|
|
|
Thanks, this helped a lot. I also learned that ScriptManager.RegisterStartupScript method simplifies this functionality.
H
|
|
|
|
|
Hello friends,
Hope u r doing good.
I have a scenario as following:
We have two dropdown lists and left menu on the master page. We have 7 content pages based on the master page.
After the selection of two dropdown lists, the menu will be populated. Once the menu populates, the menu will have links to 7 content pages.
When we click on the links in the menu, the dropdowns should not be refreshed (Master Page content should not be refreshed), Only the content of the content page should be displayed in the content area without refreshing the whole master page.
Whenever we click on other content page link, only the content place holder area should be replaced without refreshing everything on the page. We want to hold the values of dropdown lists while loading the content pages.
Any Ideas how to acheive this?
Thank you in Advance,
Raheem MA
|
|
|
|
|
i can suggest u better if u put html snippet here.
what i understand is u can use html iframe control to load different pages inside page without refreshing the page.you just need to change "src" property of iframe.
|
|
|
|
|
you can use the update panel with conditional mode. it is better way as user fill that the entire page is not refresh. put the update panel in both master page and all content page and set the mode conditional. now when you want to update any panel just write
updatepanel1.update() method. this is easiest way to achieve as per me.
hope this will help you.Regards
Keyur Satyadev
|
|
|
|
|
I dont think it'll work.because he wants to update only the content page mot master.But every page(content page) has a different URL/page and the whole page will get refreshed when we'll be changing the url.
Please correct me if I am wrong.Cheers!!
Brij
|
|
|
|
|
Thank you for your quick responses.
Any way to acheive my required functionality?
Thank you in advance,
Raheem MA
|
|
|
|
|
Hi there every one. I am new in rdlc . I have a line chart, where i want to show tooltips in every single diamond point of that line.
Any idea will be helpful.
Thanks in advance
|
|
|
|
|
If it version 2005 it is not supported..!You can give only full chart tool tip..!But if you are using 2008 you can go to chart series properties and set the tool tip..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi thanks for your reply. But where is the chart series properties, i could n't find any. even if i set the tool tip it shows only the last value , say 40 . even if i place my mouse pointer at 10.
Any suggestion will help.
|
|
|
|
|
If you are using 2008 ..!Follow this Procedure..!
1)Right Click on the chart Go To Series Properties..!
2)On the left side of the pane Select SeriesData and on the Right side select the tooltip option and set your required value..!
If the above properties are not visible then you are using vs 2005
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Never under estimate the power of saving Bookmarks. I recently found a great example on-line showing you how to display the DetailsView inside the GridView. The problem... I didn't bookmark it. Essentially, if you clicked on the "Edit" link it would just expand that row and show the DetailsView underneath the record you selected.
Could someone please provide a sample or link?
|
|
|
|
|
How about going through your browser history? Or searching in google with similar keywords? "No matter how many fish in the sea; it will be so empty without me." - From song "Without me" by Eminem
|
|
|
|
|
I attempted that but I still can't find the exact article.
|
|
|
|
|
|
|
Hello,
In my asp.net 2008 project, I am using the login controls...
In the local sql server, there are all the necessary tables and stored procedures which the system creates for the relevant login controls...
All working fine...
I notice in the webconfig file there is an entry under connections, i.e.:
<add name="LocalSqlServer" connectionString="Data Source= ...
Now I would like to put the project into the Dev server.
What do I do in terms
1- putting my web project into the Dev machine so that we can test it on the Dev server?
2- how do I put the login database schema into Dev? Is it just a matter of restoring my local DB into Dev?...
Thanks
|
|
|
|
|
The easy way is on your development server
go to following path
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
and run
aspnet_regsql.exe
and then point your database here by following the wizard. this will register the sql server and will create all your role and memebership tables. if you want to use the existing database you can specify here so that it will use those tables.
-----
or
in your web.config file you can set your membershipproviders with proper cinnectionstring.
|
|
|
|
|
|
Hi,
How can I retrieve the list of all the request I made it to server with respect to time required to process time for it.
For ex:
In my page I am using some web services. I want to retrieve list of all the web services I am using and time required to process this request. How can I do this.
Thanks & Regards
Rock Star
|
|
|
|
|
If this is for performance troubleshoot then
i.e.
On that method which you want to troubleshoot
add a Label called lblResponseTime on the page somewhere and do the following on your method
protected void cmdSearch_Click(object sender, EventArgs e)
{
DateTime responseStart = DateTime.Now;
DateTime responseEnd = DateTime.Now;
TimeSpan responseTime = responseEnd.Subtract(responseStart);
lblResponseTime.Text = responseTime.Seconds + ":" + responseTime.Milliseconds;
}
this will calculate response time taken for that action.
|
|
|
|
|
Hi,
I want to upload multiple files by selecting directory. I am using File Upload Control and Button.
If any other solution then just let me know.
Thanks
|
|
|
|