|
Hi.
Does anyone know how to remove/clear a certain value/key from a querystring?
Request.QueryString.Clear(); AND Request.QueryString.Remove(key); , do not work as the error states that QS is read only?
I do want to do the response.redirect("test.aspx?q=''") thing, as my it will not work for my situation.
Any help would be appreciated.
Thanks
M
|
|
|
|
|
is it right to use crystal reports 10 in web application as far as the execution time is concerned.
-- modified at 6:36 Friday 6th July, 2007
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
yes ofcourse
Regards,
Sylvester G
|
|
|
|
|
But Sylvester it takes a lot of time in loading, once it get cached then there does not seems any problem.
and it shows the print page twice (how many pages to print).
Which is not required.and it can not be \eliminated due to the fact that it is a .nt feature.
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
no sonia. i am using crystal report in my application, there i am doing a lot of calculations , fetching records from many tables , reading resource file data...finally i export it into PDF then i show the pdf data in seperate window. It hardly takes 15 secs if it is big calc and more data.
Regards,
Sylvester G
|
|
|
|
|
HI all
In my asp application, I want capture the value when i am clicking an item in a datagrid.
I want that value(cand_Id) because i need to compare that value with another table and populate a page.
so i declared the column as
<asp:templatecolumn headertext="Candidate ID">
<itemtemplate>
<asp:linkbutton runat="server" text="<%# DataBinder.Eval(Container.DataItem, "Cand_Id")%>" forecolor="#000000" id="Label5">
now i am getting the column as link but after clicking i need to store it in session.
Pl advice how to track the value when i am clicking on the cand_id feild of one record in the datagrid
eg if i clicked on the first data in the grid whose id is 1 the value 1 i want to store it in one variable
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
Prakash Miya column kaha hai?
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
hi
The code is in HTML If i am writing the code while posting its going blank
but i wrote like
asp:TemplateColumn and header and all
so its showing the hyperlink in the grid, If u read the last line of my original message u can understand the problem.
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
Use Ignore HTML tags option
|
|
|
|
|
Hi Piyush...
Tumhe Web services ki koi example pata hai.
I mean any real life example to implement it.So as to understand the web Services easily.
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
Hello
Sonia Gupta wrote: Hi Piyush...
Tumhe Web services ki koi example pata hai.
For your information, this is not a place for asking question to a specific member. There are other members also watching the forum and may help you. These type of messages will be voted as spam by the members and your message will get deleted from CP. And one more thing what is the language you used to communicate ? If you want to contact the member personally you can use Email link provided. You should have a look at Pete O hanlon's Guidelines for posting questions[^] or click on the Ask Smart Question's link provided at the end of my post.
I can't read first part of your question since it is in some encrypted language but from the second part I presume that you want to learn about webservices. Have a look at oreilly online catalog for creating webservices[^].
|
|
|
|
|
Sorry..
I really did not mean to heart somebody.OK, I will keep ur suggestions in mind.Sorry again...
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
No My ddear i have not work on Web services
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
hey Navaneeth. kahen bhaiya kahe ka gusha ho rahe ho.....
it social networking sight where people meet and exchange her view .so koi bhi kahin likh sakata hai ok my dear
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
Thank You .....
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
Glad to help you always.
Regards,
Satips.
|
|
|
|
|
i wanna condition on save button to check the form first whether it has values or not , if no values then save button should be disable . plz help
|
|
|
|
|
silent ocean wrote: i wanna condition on save button to check the form first whether it has values or not
Check the form ? Do you want to do this when page loads ? Then use either ButtonName.Enabled = false or in javascript disable it.
|
|
|
|
|
Add something like this to your form tag:
onsubmit="return CheckMe(this)"
and have a corresponding javascipt function check the conditions you want, eg
function CheckMe(f) {
var lastName = f.txtLastName.value;
if (lastName.length == 0) {
alert("Please give your last name");
return false;
}
var address = f.txtAddress.value;
if (address.length == 0) {
alert("Please give your address");
return false;
}
return true;
{
|
|
|
|
|
I'm building a simple content management system in asp.net and I've put together a web user control (called "contentpanel") to display a panel of content in the page.
What i want to be able to do is enumerate the number of these controls that appear in a given page so that my content management application can interrogate a given page in a site and know how many blocks of content it needs to present for editing.
So, what i've been trying to do is put together a webservice that will sit in my web application, take a parameter of the web page name, work out what class the page relates to, and then return the number of "contentpanel" controls in that page.
I've got most of the way with this using the following code:
<br />
Public Function PanelsInPage(ByVal PageName As String) As integer<br />
<br />
'Set up a variable to hold the number of contentpanels<br />
Dim PanelCount As Integer = 0<br />
<br />
'Get a reference to the assembly for the site<br />
Dim ThisAssembly As Assembly = System.Reflection.Assembly.GetExecutingAssembly<br />
<br />
'Loop through all classes looking for the PageName supplied<br />
Dim tClass As Type<br />
For Each tClass In ThisAssembly.GetTypes<br />
<br />
If tClass.BaseType.Name = "Page" And PageName = tClass.Name & ".aspx" Then<br />
<br />
<br />
End If<br />
<br />
Next<br />
<br />
Return PanelCount <br />
<br />
End Function<br />
<br />
The bit I'm struggling with is the middle of the If statement. I can identify the class, but I can't seem to find a way to enumerate the number of contentpanels that it contains. I've been using system.reflection, but I can't seem to pin down the right approach.
Is this even possible? Can a web user control be reflected from its containing page in this way? if so, can someone come up with some sample code for me (vb.net would be appreciated!)?
|
|
|
|
|
Sorry for bumping, but has anyone got any ideas on this for me?
Thanks.
|
|
|
|
|
Hello
I am developing an application in asp.net using c#.
When user open PDF file,it should go to the specific Page Number.
e.g When if I am passing Page No. 7 ,then file should open at Page Number 7.
I tried this using iTextSharp.But this can be done at the time of creating file through 'PdfAction.gotoLocalPage'.
But I want this to be apply on existing pdf.I don't want create it again and again because I want this process several times.
Please let me know if someone knows.
Swapnil Bhavsar
|
|
|
|
|
Hi,
I needed an Outlook-like calendar in my asp.net page and I found some source such as DayPilot but I am having problem to get it connect to my mssql.
I know I should ask them instead of here but since I found it through codeproject, I was wondering whether there is someone encounter this before and know the solutions or any other way to embed Outlook calendar into the asp.net page.
Thanks in advance.
J Liang
|
|
|
|
|
Hello
I have Web Service with two functions:
[Webmethod]
public string WinAuthHelloWorld()
{
return "WA : Hello world"
}
[Webmethod]
public string BasicAuthHelloWorld()
{
return "BA : Hello world"
}
In IIS I turn on the checkboxes "Integrated windows authentication" and "Basic Authentication".
In my client application I wrote:
// Main is static
static void Main()
{
Console.Write(CallBasicAuthHelloWorld());
Console.WriteCallWinAuthHelloWorld());
}
private string CallBasicAuthHelloWorld()
{
NetworkCredential netCredential = new NetworkCredential("domainname\username", "password");
Uri uri = new Uri(service.Url);
ICredentials credentials = netCredential.GetCredential(uri, "Basic");
service.Credentials = credentials;
service.PreAuthenticate = true;
return service.BasicAuthHelloWorld();
}
private string CallWinAuthHelloWorld()
{
Uri uri = new Uri(service.Url);
service.Credentials = = System.Net.CredentialCache.DefaultCredentials;
return WinAuthHelloWorld();
}
In invocation BasicAuthHelloWorld function I got Error 401 : Unauthorized.
What I dismiss in my code?
Thanks
|
|
|
|