|
Yeah i would guess the error is caused by not having the Javascript rendered due to the lack of the dll that contains it all. Take a look in the Assemlies section of the web.config file for a reference to System.Web.Atlas or something along those lines. I don't know for sure because I dont have them in any of mine
|
|
|
|
|
I am trying (and failing miserably) to access a button in the custom navigation section of a custom template step on a wizard control.
I need to set its validation group - however, the code fails when trying to find the control. Here's the code I am trying to use:
Button Test1NextButton = (Button)Test1.ContentTemplateContainer.FindControl("Test1NextButton");
Test1NextButton.ValidationGroup = "1" + NewValidationGroupNumber.ToString();
Can anyone tell me what I am doing wrong ?
|
|
|
|
|
i have a folder that shall NOT be allowed to be accessed directly. that shall be accessed only through my ASP.NET application.
please tell me how can i do that.
thanks
|
|
|
|
|
|
Hi,
I am creating an application on ASP.NET 2.0 & i want to upload mutliple pics on that. I have included around 10 uploader with the same Ids like:
uplfile1
uplfile2
uplfile3
.
.
.
.
.
uplfile10
Now in code I want to perform some action from these controls. I am using a for loop till count that represents how mnay controls are visible. I want to access uplfile1 from loop value.
LIKE:
for(int i=0;i
|
|
|
|
|
IMO, try with FindControl(...) method
<< >>
|
|
|
|
|
Hi
I have a need to change the schema of all table in a database with sql server 2000.
i use following query to change the schema of all table using following query
use [databasename]
exec sp_MSforeachtable "ALTER SCHEMA new_schema TRANSFER ? PRINT '? modified' "
but its works only in the sql server 2005. i have need to change it in sql server 2000.
Thanks in advance...
Regards,
Sri..
|
|
|
|
|
how to explore ADS (Active Directory Service) to access group and its priviliges.
thanks in advance.
|
|
|
|
|
try using LDAP authentication. refer google for LDAP source.
|
|
|
|
|
can you please help me out with the coding.
thanks
|
|
|
|
|
|
I have a web page which have some fildes in which i fill the data that show on datagrind i want to send request to printer that print the data from database table on Pressing button. with out showing print dialog .Plz help me
suhail shahab
|
|
|
|
|
i have written javascript to call the button click event. but the statement
var butt1 = document.getElementById(buttonname);
returns null .
i have also checked its id. i have written this statement to pass its id.
drcountryname.Attributes.Add("onKeyPress", "doClick('" + btndrsrc.ClientID + "',event)")
so the id is also passed correctly.
i cann't figure what is the problem.
i have used master-content page and the button is in content page.
ronak
|
|
|
|
|
hi,
try "OnClientClick" property of button control to specify java script function at design time.
<asp:button OnClientClick="doClick('pram1','param2');"/>
Sherin Iranimose
|
|
|
|
|
Hey i think u need to pass it using quotes..
var butt1 = document.getElementById('buttonname');
Try this out...
Koushik
|
|
|
|
|
the way to check this is that you view the html code of the button generated at client side...
<< >>
|
|
|
|
|
Hi all,
i ned to maintain session and i need to get the session id and i have to keep in a table .I dont have any idea about sessions plz give me code for how to creatw a session .
Suresh.R
|
|
|
|
|
Session : Course of visit to a particular website
When a user starts visiting the site the session will start.
In the course of visit we can store states in session variables like
Session["LoginTime"] = DateTime.Now();
...... like this we can use many session variable to maintaning the state.
Session.SessionId is the unique id to refer a particular user visits.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
hi,
i have an application in which there are two hyperlink controls. In both properties text is underlined. If clicked on one, the clicked one shouldn't be underlined. Same thing should happen for the click of other hyperlink. How to do this?
|
|
|
|
|
You need to use style sheet for this purpose. Some what similer to..
a:visited{
text-decoration:none;
}
a:visited{
text-decoration:underline;
}
Lets work it Out.........!
|
|
|
|
|
please explain...me new to web applications..
In Html code it in a column as below:
<asp:hyperlink id="hlinkArchive" runat="server" height="19px" navigateurl="~/frmDailyStats.aspx" target="_self" style="z-index: 100;
left: 617px; position: absolute; top: 32px" width="101px" font-underline="True">Archive Transfer
Now where i put that code which you sent...kindly explain..
Thanks
|
|
|
|
|
|
I have two strings as shown below
strA="Ashok";
strB="Aravind";
What i need to do is i have to compare both strA and strB then i have to delete the equall chracter.For example here in both string 'A' is equall.So i have to delete tat 'A'.Plse help me. Thanks in advance
|
|
|
|
|
I am not going to give code for this.
I am giving logic.
Take the length of two string.
Traverse character by character till the lowest string length.
While traversing check the charcters using indexOf method. If you find the matching character, replace it.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
I dont know any code for that is available..
try this
Dim i As Integer
Dim str1 As String = "Ashok"
Dim str2 As String = "Aravind"
For i = 0 To str2.Length - 1
If (str1.IndexOf(str2.Chars(i)) <> -1) Then
str1 = str1.Remove(str1.IndexOf(str2.Chars(i)), 1)
End If
Next
Str1 will be "shok"
Sherin Iranimose
|
|
|
|