User Profile
Collapse
-
I want to check controls like textbox, button , gridview and etc...... -
Check all the controls loaded
Hi,
anybody tell me.
How to find particular control loaded completely. -
Date Between Problem
Hi all,
I want to get result for a praricular ID if all days are present.
But I am getting result if any of the day present in between the date
select StarRate, Date from vw_BasicSearch where date BETWEEN CAST('2008-06-03' AS DATETIME)
AND CAST('2008-06-05' AS DATETIME)
AND StarRate = 5
group by StarRate, Date
Result.
StarRate Date... -
Specific Reasons To Denormalize
Hi all,
Is there is any Specific Reasons To Denormalize.
Any example?.
Thanks -
Differnece between SelectStatement in View and StoredProcedure
Hi All,
We all are creating Select statement both in View and StoredProcedure
In view it virtually links to tables.
What is the difference.
Thanks in advance -
baburk started a topic Calling javascript function in masterpage file using RegisterClientScript problemin JavascriptCalling javascript function in masterpage file using RegisterClientScript problem
Hi all,
when I call the javascript method from code behind file of the same page it works fine.
Code:ScriptManager.RegisterClientScriptBlock(this, Page.GetType(), "Scroll", "ScrollToPosition();", true);
When I press the button1,
It... -
How to get EventID
Hi all,
I am writing eventlog.
In EventLog class having WriteEntry() to write eventlog into the Event Logs file.
It contains some parameter.
How to get the eventID, category, rawData for an exception
eventID
Type: System..::.Int3 2
The application-specific identifier for the event.
category
Type: System..::.Int1 6
... -
Generic.EventLogManager' does not contain a definition for 'Installers'
Hi all,
Iam getting this errormessage when i called this function.
This function is for to log the error message.
Generic.EventLo gManager' does not contain a definition for 'Installers' D:\TravelSoln\A pp_Code\Generic \EventLog.cs
Iam having this namespace
Code:using System.Configuration.Install; using System.Diagnostics; using System.ComponentModel;
-
How to refresh asp:Content after certain period of time
Hi,
How to refresh only a particular asp:Content for certain period of time.
How can i?
Code:<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> </asp:Content>
-
How to set stylesheet padding-right pixel value from javascript
Hi all,
I want to set the pixel value 10px from javascript.
This style in a file stylesheet.css.
Javascript in a file script.js
p,h2,h3
{
padding-right: 10px;
}
Thanks in advance -
But I wants, it should be called suddenly when the user gives another url....Leave a comment:
-
Hi Frinavale,
I have put like this in C#
ScriptManager.R egisterClientSc riptBlock(this, Page.GetType(), "Scroll", "ScrollToPositi on();", true);
and the Script is
<script language = "javascript " type = "text/javascript">
function ScrollToPositio n()
{
window.scrollTo (10,10);
}
</script>...Leave a comment:
-
I want this for, if the user enters different url i wants to end the session....Leave a comment:
-
Get Url Change
Hi,
I had wrote this script to get the changed URL.
I called this in <body onunload = "GetUrl();" >
The problem is that it gives the old url but not the changed url.
ie the function url is http://localhost:4241/WorkedOut/Default.aspx
when i changed to www.google.com it gives http://localhost:4241/WorkedOut/Default.aspx but not www.google.com
[CODE=javascript]... -
Sub Query and join Difference
hi,
In these two Query, for join we have to use DISTINCT but for SubQuery no need to use distinct.
SELECT DISTINCT PM.PropertyID, PM.PropertyName FROM PropertyMaster PM
JOIN PropertyManager PMgr ON PM.PropertyID = PMgr.PropertyID
JOIN CompanyRegistra tionMaster CRM ON PMgr.CompanyID = CRM.CompanyID
WHERE Master = @CompanyID
SELECT PropertyName, PropertyID FROM PropertyMaster... -
No I didn't get any error on registering thescript in the page.
When I set PartialPageRend ering = false it works fine.
But when i set it to PartialPageRend ering = true it did't call the script and didn't throw any error.
Through breakpoint i chencked it called correctly.
I heard that when i set PartialPageRend ering = false it renders only partial page.
So the script didn't load in...Leave a comment:
-
Call javascript form C# problem
Hi,
When I set EnablePartialRe ndering = false it works.
But I want EnablePartialRe ndering = true.
How to over come this.
Page.ClientScri pt.RegisterClie ntScriptBlock(P age.GetType(), "Move", "scrollToXY(10, 10);", true);
Thanks in advance -
Concatenate two tables
hi all,
I am having two tables with same number of rows and datatype like this,
Table1
Item
1
2
3
4
5
Table2
Item
1
2
3
4
5
I want to join this two table like this
Item1 Item2
1 1
2 2
3 3
4 4... -
Get Controls Inside Content Template
If control is in page I can able to get like this
foreach (Control c in Page.Controls)
{
if (c.GetType() is TextBox)
{
}
}
But my controls are in ContentTemplate
Help me how to find it -
Call javascript form C# problem
Hi,
Because of having ajax ScriptManager EnablePartialRe ndering = "true"
the java script doesn't call
public void FocusControl(Co ntrol ctrl)
{
System.Text.Str ingBuilder sb = new System.Text.Str ingBuilder();
sb.Append("<scr ipt language='javas cript'>");
sb.Append("wind ow.scrollTo(0,0 );");
sb.Append("</script>");...
No activity results to display
Show More
Leave a comment: