|
|
What's the bit that's almost wrong?
|
|
|
|
|
I couldn't understand what you want to say? Please let me know is it possible or not?
|
|
|
|
|
Hi,
Can anyone help me, i have a table that i stated as a server control and i am trying to print but always shows me this error message:
Sys.WebForms.PageRequestManagerParserErrorException: The message recieved from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'function win'.
Can anyone help me please,
Thanks in advance.
living life on the flip side
|
|
|
|
|
Hi,
How can I prevent the postback of parent form while closing the popup form?
Regards,
Blumen
|
|
|
|
|
Usually when a popup window is closed, opener won't be posted back.
|
|
|
|
|
Sorry for that short description..
A custom control (containing Dropdownlist and a button) is used to open a popup form. Certain data would be saved from the popup form to database. When the popform is closed, using Close button or clicking the 'X' in IE, the dropdownlist in custom control has to be refreshed and data manipulated in popup form should be reflected in dropdownlist.
But parent form should not postback, coz that would cause all validators to fire. I was told to add a dummy button (visible = false) in the custom control, and call its click event while the popup form is closed by my senior here.
I don't understand how that would help, is there any alternative?
Regards,
Blumen
|
|
|
|
|
then, I think this might be a feature of your custom popup control (hope you are not using rad controls.). As this is the feature of your custom control, you probably need to find the property that can disable this feature. If there is no option to disable then you probably need to find another custom control..
If you have the code of that custom control, I think you should take a look at unload event of that popup windows. there might be some code that make a refresh to the parent window...
|
|
|
|
|
Popup has a radgrid..
Custom control has a button and a dropdownlist control
|
|
|
|
|
That's why. Rad control does like that. So, I suggest you to contact with Rad control developers. As you are their customer, they will give you the correct help in short time..
|
|
|
|
|
This is the scenario..
Basically I have a page that has a custom control with a button
that opens a new page (popup window). During the closing of this popup, I want DropDownList in parent page to refresh so that it has updated data by making a new call to the database.
The new page that is opened from the button in custom control is designed to add a new record to the database and the calling control should then automatically pull that new record.
I have to achieve this without parent form posting back, coz this would fire all validators..
Is that possible somehow?
|
|
|
|
|
Is it possible with div/ panel/ GridView to have vertical scrollbars both on the left and right extremes of the controls.??
Pankaj Chamria,
Software Programmer.
|
|
|
|
|
I have to ask when we upload a video in youtube it is converted in flv format and then played by flv player.
I too preparing a site like youtube with has least fuctionality as in youtube, my question is
When i have to convert the video in flv format ,will it happen when a user uploading a video and at that time i convert it in flv format and save,that means uploading and converting it in flv format should be done simultaneously.
or
whether, first i upload the video in any format and save in server and later convert it into the flv format.
|
|
|
|
|
I would queue any files up for conversion on the server and have a separate process to do the actual conversion, allowing you to return straight back to the user. You don't want the user's browser 'locked' whilst you are converting.
Small angry dogs
|
|
|
|
|
Hi,
There are many Freeze GridView Header solutions available but all that I found only worked for vertical scrollbar in GridView. But my Grid has around 35-40 columns and I want a horizontal scrollbar as well; while retaining the Freeze Header functionality.. any ideas??
Pankaj Chamria,
Software Programmer.
|
|
|
|
|
If you are moving the horizontal scrollbar then you don't need to do anything to header because moving X position doesn't affect to Y position.
|
|
|
|
|
Hello ... friends ....
I have following problem ....
I have two applications one is win application and other is web application ...
now if one user logged in using username & password in win application and through this win application if he/she want to visit site then they have to relogin in site but i want that they can login on site using that username & password which he/she had entered earlier. that means the user will be authenticate only once so they have to give there username & password twice or more as if they move from site to win application back ...
p;ease help .. me ..
thanking you in advance ...
Mihir
|
|
|
|
|
I tried to implement SSL on my local IIS. To do that I open the directory security tab in the site properties. But the "Server Certificate" button is disabled. Please let me know how to enable it. I am using IIS 5.1
Thanks,
Hogan
|
|
|
|
|
- Right-click on "Default Web Site" in IIS. (Not on sub-directories )
- Go to "Directory Security" (You will see "Server Certificate").
Hope it helps.
|
|
|
|
|
How to open a pop up window on clicking hyperlinkfield inside gridview,also i have to pass to querystrings to the second page.
<asp:HyperLinkField HeaderText="View Resume" Text="View" Target="_blank" DataNavigateUrlFields="cand_id,rrf_id" DataNavigateUrlFormatString="ResumeDetails.aspx?cand_id={0}&rrf_id={1}" >
</asp:HyperLinkField>
thnx for ny reply..
MiThuN NaRaYaNaN
|
|
|
|
|
mithun narayanan wrote: How to open a pop up window on clicking hyperlinkfield inside gridview
On RowDataBound event of gridview, find the hyperlink button and add Onclick attributes there.
|
|
|
|
|
thanx navaneeth....
But still prblm..
i have already tried with row command,but its not entering inside this function i tried putting break points.also thers no command name for hyperlink fields.also ia am not using hperlink buttons am using hyperlink field
Mithun Narayanan
modified on Tuesday, December 18, 2007 6:39:43 AM
|
|
|
|
|
mithun narayanan wrote: ia am not using hperlink buttons am using hyperlink field
Have you tried in Control collection ?
|
|
|
|
|
thnks Navneeth,that still not workd., i ve found alternate way for that
<asp:TemplateField HeaderText="View Resume">
<ItemTemplate>
<asp:Hyperlink Text="View" ID="Hyperlink2" NavigateUrl=<%#"javascript:my_window=window.open('ResumeDetails.aspx?cand_id=" + DataBinder.Eval(Container.DataItem,"cand_id").ToString() + "&rrf_id=" + DataBinder.Eval(Container.DataItem,"rrf_id").ToString() + "','my_window','toolbar=no, location=no, titlebar=no, linkbar=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=800, height=600, copyhistory=no');my_window.focus()" %> Runat="Server">
</asp:Hyperlink>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
|
|
|
|
|
First you need an Itemplate in the GridView with Hyperlink as one of the required columns. I think you already have that. Then implement the row data bound event as below:
protected void GridView_RowDataBound ( object sender, GridViewRowEventArgs e )
{
LinkButton lnkBut = new LinkButton();
HyperLink hlnk = new HyperLink();
if ( (ListItemType)e.Row.RowType == ListItemType.Item ||
(ListItemType)e.Row.RowType == ListItemType.AlternatingItem )
{
hlnk = (HyperLink)( e.Row.FindControl("HyperLink1") );
string strPathFromDB = hlnk.Text; //NOTE: OR this can be a predetermined path hard-coded here if you wish to have the same path for all rows. You can add your query string after the path.
hlnk.NavigateUrl = String.Format("{0}", strPathFromDB.Replace("\\", "/"));
hlnk.Target = "_blank";
ALTERNATE WAY: Attach javascript to Hyperlink.
url = "DocumentLinkControl.aspx?TradeDate=" + tradeDate + "&CounterParty=" + counterParty
lnkBut.Attributes.Add("onclick", "window.open('" + url + "',null,'left=400, top=50, height=800, width= 650, status=no, resizable= no, scrollbars= yes, toolbar= no,location= no, menubar= no');");
}
}
Let me know if this didnt work..
Pankaj Chamria,
Software Programmer.
|
|
|
|